[PATCH weston v2 3/6] noop-renderer: Read the shm buffer contents on attach

2014-02-07 Thread Emilio Pozuelo Monfort
From: Emilio Pozuelo Monfort emilio.pozu...@collabora.co.uk The noop-renderer doesn't read buffer contents, which means bad buffers go undetected. Thus, read the buffer contents just for the purpose of triggering SIGBUS (and having the client killed). Fixes the bad-buffer test when run against

[PATCH weston v2 2/6] noop-renderer: Set the buffer size on attach requests

2014-02-07 Thread Emilio Pozuelo Monfort
From: Emilio Pozuelo Monfort emilio.pozu...@collabora.co.uk This lets the compositor know the size of the surface as calculated in weston_surface_set_size_from_buffer(), and fixes a couple of tests when using the headless backend. Signed-off-by: Emilio Pozuelo Monfort

[PATCH weston v2 5/6] tests: use the headless backend to run the test suite

2014-02-07 Thread Emilio Pozuelo Monfort
From: Emilio Pozuelo Monfort emilio.pozu...@collabora.co.uk Other backends can be used by passing BACKEND=some-backend.so, e.g. $ make check BACKEND=x11-backend.so Signed-off-by: Emilio Pozuelo Monfort emilio.pozu...@collabora.co.uk --- tests/weston-tests-env | 10 -- 1 file

[PATCH weston v2 4/6] tests: Skip buffer-count if EGL initialization fails

2014-02-07 Thread Emilio Pozuelo Monfort
From: Emilio Pozuelo Monfort emilio.pozu...@collabora.co.uk That is the case when using the headless backend. In the future we may be able to use the mesa null egl platform but for now let's just skip it. Signed-off-by: Emilio Pozuelo Monfort emilio.pozu...@collabora.co.uk ---

Re: [PATCH weston 2/6] noop-renderer: Set the buffer size on attach requests

2014-02-07 Thread Emilio Pozuelo Monfort
On 06/02/14 14:37, Pekka Paalanen wrote: On Thu, 6 Feb 2014 12:30:32 +0100 Emilio Pozuelo Monfort poch...@gmail.com wrote: From: Emilio Pozuelo Monfort emilio.pozu...@collabora.co.uk This lets the compositor know the size of the surface as calculated in

[PATCH wayland] protocol: when buffer transform and scale change

2014-02-07 Thread ppaalanen
From: Pekka Paalanen pekka.paala...@collabora.co.uk Clarify when the pending and current buffer transform and scale values change, and what exactly happens on commit. This matches what Weston currently does. Signed-off-by: Pekka Paalanen pekka.paala...@collabora.co.uk --- protocol/wayland.xml

Re: [PATCH weston v2 6/6] tests: Properly report skipped tests

2014-02-07 Thread Pekka Paalanen
On Fri, 7 Feb 2014 09:34:48 +0100 Emilio Pozuelo Monfort poch...@gmail.com wrote: From: Emilio Pozuelo Monfort emilio.pozu...@collabora.co.uk We were calling exit(0) when tests were skipped, which counted them as passed instead of skipped. Fix this by properly exiting with 77 (which is

Re: [PATCH libinput 0/6] Add dynamic devices to the path backend

2014-02-07 Thread Jonas Ådahl
On Fri, Feb 07, 2014 at 08:09:21AM +1000, Peter Hutterer wrote: On Thu, Feb 06, 2014 at 10:23:57PM +0100, Jonas Ådahl wrote: On Thu, Feb 06, 2014 at 02:13:04PM +1000, Peter Hutterer wrote: This patchset revamps the path backend to allow for more than one path-based device per

Re: wl_surface_commit from different thread

2014-02-07 Thread Jason Ekstrand
Hi Prabhu, Could you be a little more specific as to what you are doing. It sounds like you are either writing a client or trying to write the client-side wayland bits for a driver stack. However, it's kind of hard from you description to tell exactly what you're working on. Nevertheless, I

Help compiling mesa/gallium from git!

2014-02-07 Thread Bill Spitzak
In order to try to compile the new xserver for wayland, I updated mesa to the latest git version, and now wayland does not work at all! Considering it has worked for a long time I would like to try to fix this, it is really unfortunate. It does appear the problem is in egl gallium and it's

Fwd: Re: Help compiling mesa/gallium from git!

2014-02-07 Thread Axel Davy
The new mesa you built has no egl_gallium.so (since you have --disable-gallium-egl), but you have not removed the old egl_gallium.so, and it tries to load it, since it is here. Axel Davy Le 07/02/2014 18:30, Bill Spitzak a écrit : In order to try to compile the new xserver for wayland, I

Re: wl_surface_commit from different thread

2014-02-07 Thread Prabhu S
Please find my comments inline. On Fri, Feb 7, 2014 at 8:18 AM, Jason Ekstrand ja...@jlekstrand.net wrote: Hi Prabhu, Could you be a little more specific as to what you are doing. It sounds like you are either writing a client or trying to write the client-side wayland bits for a driver

Re: wl_surface_commit from different thread

2014-02-07 Thread Jason Ekstrand
On Fri, Feb 7, 2014 at 12:57 PM, Prabhu S prabhusun...@gmail.com wrote: Please find my comments inline. On Fri, Feb 7, 2014 at 8:18 AM, Jason Ekstrand ja...@jlekstrand.netwrote: Hi Prabhu, Could you be a little more specific as to what you are doing. It sounds like you are either

[PATCH 1/3] Make default log handler print to stderr

2014-02-07 Thread Kristian Høgsberg
On the client side we log fatal errors before we exit. If a client doesn't set a log handler, it's hard to figure out what goes wrong. --- src/wayland-util.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/wayland-util.c b/src/wayland-util.c index 4fe9c81..b099882

[PATCH 2/3] client: Rename display-queue to default_queue

2014-02-07 Thread Kristian Høgsberg
We'll add a new queue next, so rename the default queue first. --- src/wayland-client.c | 17 + 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/src/wayland-client.c b/src/wayland-client.c index 0cc9a50..04b5115 100644 --- a/src/wayland-client.c +++

[PATCH 3/3] client: Queue display events on private queue and always dispatch

2014-02-07 Thread Kristian Høgsberg
The wl_display events (error and delete_id) need to be handled even if the default queue doesn't get dispatched for a while. For example, a busy EGL rendering loop hits wl_display.sync every eglSwapBuffers() and we need to process the delete_id events to maintain the object ID data structure. As

[PATCH weston.ini.man] Improvement of weston.ini.man. Add key:shell and remove tablet-shell.

2014-02-07 Thread Nobuhiko Tanibata
Add key:shell to CORE SECTION and move a example of desktop-shell from key:modules to key:shell. Add cms-colord.so to key:modules of CORE SECTION. Signed-off-by: Nobuhiko Tanibata nobuhiko_tanib...@xddp.denso.co.jp --- 0001-Improvement-of-weston.ini.man.patch | 50