Re: Question about cairo-gl

2014-05-14 Thread Pekka Paalanen
On Wed, 14 May 2014 12:56:27 -0700 Bill Spitzak wrote: > The wayland build instructions also include the building of pixman and > cairo in order to enable the cairo gl backend. > > However I get the impression that weston does not use this unless a > switch --with-cairo=gl is passed to configu

Re: [PATCH 1/2] simple-touch: Make sure shm formats have been enumerated.

2014-05-14 Thread Pekka Paalanen
On Wed, 14 May 2014 17:40:13 +0200 Paul Liétar wrote: > The first roundtrip only ensures the globals have been enumerated by the > registry. > > After binding wl_shm, we need a new roundtrip to make sure the formats > have been enumerated, otherwise we might check for has_argb too early. > > Th

Re: Question about cairo-gl

2014-05-14 Thread Stanislav Vorobiov
Hi, IMHO cairo gl isn't much tested/supported in weston since it has bad performance, you should probably just use sw cairo. Thanks. On 05/14/2014 11:56 PM, Bill Spitzak wrote: > The wayland build instructions also include the building of pixman and cairo > in order to enable the cairo gl back

[PATCH wayland-web] Build instructions updated with dependencies and config fixes

2014-05-14 Thread spitzak
From: Bill Spitzak --- building.html | 396 - wayland.css |1 + xserver.html | 196 +++- 3 files changed, 386 insertions(+), 207 deletions(-) diff --git a/building.html b/building.html index 04c2c8b..60bd81

[PATCH] wcap: clean up resources on mmap or frame alloc failure.

2014-05-14 Thread U. Artie Eoff
Close the decoder->fd resource if mmap fails. Unmap the decoder->map and close the decoder->fd if the decoder->frame memory allocation fails. Although short-lived in the context of where wcap_decoder_create is currently used (i.e. in main), not closing the fd before returning NULL in these cases

Question about cairo-gl

2014-05-14 Thread Bill Spitzak
The wayland build instructions also include the building of pixman and cairo in order to enable the cairo gl backend. However I get the impression that weston does not use this unless a switch --with-cairo=gl is passed to configure. Only then does it produce calls to attempt to make a context

Re: [PATCH] Destroy resources when destroying input and output

2014-05-14 Thread Pekka Paalanen
On Wed, 14 May 2014 19:12:20 +0100 Neil Roberts wrote: > After looking at it a bit more I don't think we can really make > the automatic zombie idea work. The trouble is that > libwayland-server would need to know when the client has > destroyed the proxy in order to destroy the zombie resource.

Re: [PATCH] Destroy resources when destroying input and output

2014-05-14 Thread Neil Roberts
After looking at it a bit more I don't think we can really make the automatic zombie idea work. The trouble is that libwayland-server would need to know when the client has destroyed the proxy in order to destroy the zombie resource. However the destroy semantics are interface-dependent so only an

[PATCH 1/2] simple-touch: Make sure shm formats have been enumerated.

2014-05-14 Thread Paul Liétar
The first roundtrip only ensures the globals have been enumerated by the registry. After binding wl_shm, we need a new roundtrip to make sure the formats have been enumerated, otherwise we might check for has_argb too early. This is similar to the simple-shm example. Signed-off-by: Paul Liétar

Re: [PATCH 2/2] window: Make a roundtrip to ensure globals have been enumerated.

2014-05-14 Thread Paul Liétar
Le 14 mai 2014 à 10:14, Pekka Paalanen a écrit : > Hi > > Looks good! This is 1.5-stable stuff, and probably for all earlier > stable branches, too. > > Excellent find, already proves that working on a middle-man dumper is > useful. :-) In fact, adding a mode to the dumper program, where it wil

Re: Build dependencies

2014-05-14 Thread Pekka Paalanen
On Wed, 14 May 2014 16:54:39 +0400 Soslan Khubulov wrote: > Hi there, > > I found Building Wayland page (http://wayland.freedesktop.org/building.html) > lacks build dependencies. Just following that page I was unable to proceed > any further, but after installing build dependencies from Raspberr

Build dependencies

2014-05-14 Thread Soslan Khubulov
Hi there, I found Building Wayland page (http://wayland.freedesktop.org/building.html) lacks build dependencies. Just following that page I was unable to proceed any further, but after installing build dependencies from Raspberry Pi page (http://wayland.freedesktop.org/raspberrypi.html) I finally

Re: [PATCH] configure.ac: Change in build system to use the path from pkg-config for wayland-scanner.

2014-05-14 Thread Pekka Paalanen
On Wed, 14 May 2014 16:01:14 +0530 Srivardhan Hebbar wrote: > This is a fix to the bug https://bugs.freedesktop.org/show_bug.cgi?id=78688. > > Signed-off-by: Srivardhan Hebbar > --- > configure.ac |4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/configure.ac b/co

[PATCH] configure.ac: Change in build system to use the path from pkg-config for wayland-scanner.

2014-05-14 Thread Srivardhan Hebbar
This is a fix to the bug https://bugs.freedesktop.org/show_bug.cgi?id=78688. Signed-off-by: Srivardhan Hebbar --- configure.ac |4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 031a26f..89965e2 100644 --- a/configure.ac +++ b/configure.ac

Re: documentation for wl_egl_window_resize in libwayland-egl

2014-05-14 Thread Pekka Paalanen
On Wed, 14 May 2014 15:21:37 +0530 Rohit Nandan wrote: > Hi , > > I was trying to issue wl_egl_window_resize just after wl_egl_window_create > but could not find/search/research over what last two parameters of > wl_egl_window_resize mean. In implementation it states it int dx,dy. But > not even

documentation for wl_egl_window_resize in libwayland-egl

2014-05-14 Thread Rohit Nandan
Hi , I was trying to issue wl_egl_window_resize just after wl_egl_window_create but could not find/search/research over what last two parameters of wl_egl_window_resize mean. In implementation it states it int dx,dy. But not even single line description of what these ints refer to. Though I though

Re: [PATCH 2/2] window: Make a roundtrip to ensure globals have been enumerated.

2014-05-14 Thread Pekka Paalanen
On Tue, 13 May 2014 22:54:36 +0200 Paul Liétar wrote: > If the compositor enumerates the globals too slowly, the d->sum pointer > is still NULL by the time create_cursors is called, and leads to a null > pointer dereferencing. > > A roundtrip is needed to make sure all globals have been enumerat

Re: Config bug in wayland

2014-05-14 Thread Pekka Paalanen
On Tue, 13 May 2014 18:04:07 -0700 Bill Spitzak wrote: > Trying to replicate my success at building Wayland, starting from > scratch, I found an error at the first step if $ALOCAL is exported as > stated, and no install has ever been done: > > ~/Wayland/wayland$ ./autogen.sh --prefix=$WLD > au