vc_dispmanx_set_wl_buffer_in_use: Undefined symbol loading rpi-backend.so module.

2013-10-27 Thread Paul
Hi, I have been trying to build the latest Weston on my Raspberry Pi. In a recent patch there is a call to a new function 'vc_dispmanx_set_wl_buffer_in_use'. This is declared as a stub in 'rpi-bcm-stubs.h'. I have updated my Raspberry Pi to the latest Kernel and Userland stuff but I cannot fin

Re: [RFC] clients: add simple-dmabuf

2013-10-27 Thread Axel Davy
On 22/10/2013 17:23, David Herrmann wrote : Btw., I got this working with i915 by allowing GEM_OPEN/GEM_FLINK on the render-node. So if someone else tests this, you might need the same hacks. I will try to find the code in mesa that requires this. David This comes from 'intel_region_alloc_for_

Re: [RFC] clients: add simple-dmabuf

2013-10-27 Thread Axel Davy
On 22/10/2013 17:23, David Herrmann wrote : Btw., I got this working with i915 by allowing GEM_OPEN/GEM_FLINK on the render-node. So if someone else tests this, you might need the same hacks. I will try to find the code in mesa that requires this. David This comes from 'intel_region_alloc_fo

[PATCH] toytoolkit: Don't segfault on window close

2013-10-27 Thread Jason Ekstrand
Without this commit, the client will segmentation fault due to accessing the frame after everything has been destroyed. --- clients/window.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/window.c b/clients/window.c index 331569a..be61a53 100644 --- a/clients/window.c

[PATCH weston 00/11] Wayland backend improvements

2013-10-27 Thread Jason Ekstrand
This patch series substantially extends the wayland backend to add a number of improvements. Currently, the X backend is the only backend capable of easily testing various scenarios without having to hotplug/rotate physical monitors. As much fun as it is to run X inside of Weston inside of Weston

[PATCH weston 01/11] compositor-wayland: Rename structure members and make things more consistant

2013-10-27 Thread Jason Ekstrand
Signed-off-by: Jason Ekstrand --- src/compositor-wayland.c | 76 ++-- 1 file changed, 41 insertions(+), 35 deletions(-) diff --git a/src/compositor-wayland.c b/src/compositor-wayland.c index 21ce5cb..f4cc7d7 100644 --- a/src/compositor-wayland.c +++ b/

[PATCH weston 02/11] gl-renderer: Add support for per-output multi-texture borders.

2013-10-27 Thread Jason Ekstrand
The first advantage of this new API is that it is per-output instead of global to the gl_renderer instance. This means that different windows can have different titles, different button states, etc. The new api also uses four textures (one for each side) instead of one. This allows you to draw r

[PATCH weston 03/11] compositor-wayland: Add an actual frame around the compositor window

2013-10-27 Thread Jason Ekstrand
This adds a window frame with a close button. Similar to the X11 backend, The window supports dragging but not resizing. Signed-off-by: Jason Ekstrand --- configure.ac | 2 +- src/compositor-wayland.c | 406 ++- 2 files changed, 335 inse

[PATCH weston 04/11] gl-renderer: Remove the renderer-global border support

2013-10-27 Thread Jason Ekstrand
This was only ever used by the wayland backend and is no longer used there. Signed-off-by: Jason Ekstrand --- src/gl-renderer.c | 173 +- src/gl-renderer.h | 4 -- 2 files changed, 1 insertion(+), 176 deletions(-) diff --git a/src/gl-rendere

[PATCH weston 05/11] compositor-wayland: Flush the display on commit

2013-10-27 Thread Jason Ekstrand
This fixes the problem where animations will wait to play until input is received. In general, it also makes the backend far more responsive. Signed-off-by: Jason Ekstrand --- src/compositor-wayland.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/compositor-wayland.c b/src/composit

[PATCH weston 06/11] compositor-wayland: Add pixman/SHM fallback mode

2013-10-27 Thread Jason Ekstrand
This also adds a --use-pixman command-line option to enable the pixman renderer explicitly. Signed-off-by: Jason Ekstrand --- src/compositor-wayland.c | 468 +-- src/compositor.c | 1 + 2 files changed, 374 insertions(+), 95 deletions(-) dif

[PATCH weston 09/11] Move region transformation code to weston_transformed_region

2013-10-27 Thread Jason Ekstrand
Both the Pixman renderer and the X11 backend contained effectively the same region transformation code. This commit adds a weston_transformed_region function and changes pixman-renderer and compositor-x11 to use it. Signed-off-by: Jason Ekstrand --- src/compositor-x11.c | 95 ++---

[PATCH weston 08/11] Make weston_output_transform_coordinate more sane

2013-10-27 Thread Jason Ekstrand
The output is renamed "output" from "x11_output" and the input coordinates are changed to wl_fixed_t from int. This way it is useable in compositor-wayland as well as compositor-x11 and evdev. Signed-off-by: Jason Ekstrand --- src/compositor-x11.c | 9 + src/compositor.c | 34 +

[PATCH weston 07/11] Remove the concept of a border from weston_output.

2013-10-27 Thread Jason Ekstrand
The only user for this was the wayland backend with the GL renderer. It is not needed in the Pixman renderer because you can easily create subimages. All of the fancy output matrix calculations can be replaced by a single glViewport call. Also, it didn't work with outputs located anywhere but (0,

[PATCH weston 10/11] compositor-wayland: Parse [output] config sections and more options

2013-10-27 Thread Jason Ekstrand
This commit makes the wayland backend search through the config for [output] sections with names starting with "WL" and create outputs accordingly. Outputs created due to the config file support mode, scale, and transform parameters. It also listens for the --output-count command-line option. Th

[PATCH weston 11/11] cairo-util: Rework frame button handling

2013-10-27 Thread Jason Ekstrand
This makes button handling more correct concerning drags. Also, frame_pointer_button returns the original button location in the case of a release. This makes filtering of button events much easier for users of the cair-util frame code. Signed-off-by: Jason Ekstrand --- shared/cairo-util.h |