[PATCH weston] window: Disregard motion events outside our current surface dimensions

2013-07-11 Thread Rob Bradford
From: Rob Bradford It is possible to receive a motion event that was generated by the compositor based on a pick of a surface of old dimensions. This was triggerable on toytoolkit clients when minimising. The new window dimensions were propagated through the widget hierarchy before the event was

[PATCH weston] editor: Support shift-left/right for selecting text

2013-07-11 Thread Rob Bradford
From: Rob Bradford If the shift modifier is active then we don't make the cursor and the anchor the same and as a result we develop a selection in the direction that the arrow key gets pressed in. https://bugs.freedesktop.org/show_bug.cgi?id=66802 --- clients/editor.c | 6 -- 1 file changed

[weston v2 4/4] rpi: Add support for SHM buffers in RGB565 format

2013-07-11 Thread Tomeu Vizoso
--- src/rpi-bcm-stubs.h | 1 + src/rpi-renderer.c | 10 ++ 2 files changed, 11 insertions(+) diff --git a/src/rpi-bcm-stubs.h b/src/rpi-bcm-stubs.h index 4b89319..d3ffd4b 100644 --- a/src/rpi-bcm-stubs.h +++ b/src/rpi-bcm-stubs.h @@ -85,6 +85,7 @@ typedef enum /* these are not t

[weston v2 3/4] pixman-renderer: Add support for SHM buffers in RGB565 format

2013-07-11 Thread Tomeu Vizoso
--- src/pixman-renderer.c | 12 1 file changed, 12 insertions(+) diff --git a/src/pixman-renderer.c b/src/pixman-renderer.c index 25bffbe..fd0a61c 100644 --- a/src/pixman-renderer.c +++ b/src/pixman-renderer.c @@ -560,6 +560,9 @@ pixman_renderer_attach(struct weston_surface *es, stru

[wayland v2 2/2] shm: Add API for renderers to register additional pixel formats

2013-07-11 Thread Tomeu Vizoso
--- src/wayland-private.h | 4 src/wayland-server.c | 17 + src/wayland-server.h | 4 src/wayland-shm.c | 45 - 4 files changed, 57 insertions(+), 13 deletions(-) diff --git a/src/wayland-private.h b/src/wayland-private

[weston v2 2/4] gl-renderer: Add support for SHM buffers in RGB565 format

2013-07-11 Thread Tomeu Vizoso
--- src/gl-renderer.c | 63 +-- 1 file changed, 52 insertions(+), 11 deletions(-) diff --git a/src/gl-renderer.c b/src/gl-renderer.c index d13781c..08fffa1 100644 --- a/src/gl-renderer.c +++ b/src/gl-renderer.c @@ -1109,6 +1109,8 @@ gl_renderer_

[weston v2 1/4] window: Allow hinting of a preference for RGB565 when creating a window

2013-07-11 Thread Tomeu Vizoso
And check if the renderer supports the RGB565 format for wl_shm buffers before creating the cairo surface and requesting the buffer. It can save quite some memory with big surfaces such as desktop backgrounds. --- clients/desktop-shell.c | 8 clients/keyboard.c | 2 +- clients/tab

[wayland v2 1/2] protocol: Copy missing pixel formats from wl_drm to wl_shm

2013-07-11 Thread Tomeu Vizoso
--- protocol/wayland.xml | 65 +++- 1 file changed, 64 insertions(+), 1 deletion(-) diff --git a/protocol/wayland.xml b/protocol/wayland.xml index 1442b6a..3cfa953 100644 --- a/protocol/wayland.xml +++ b/protocol/wayland.xml @@ -274,10 +274,73 @@

Add support to wl_shm for RGB565 buffers

2013-07-11 Thread Tomeu Vizoso
This version allows renderers to advertise support for additional pixel formats for shm buffers via new API: wl_display_set_additional_shm_formats Additionally, clients can hint when creating a window the preferred pixel format. Regards, Tomeu ___ way

[PATCH weston] shell: Respect output transformation for input panel surface

2013-07-11 Thread Rob Bradford
From: Rob Bradford Rather than using the dimensions in the mode we can use the recently added output width and height members which are updated to reflect any output rotation. https://bugs.freedesktop.org/show_bug.cgi?id=66798 --- src/shell.c | 7 ++- 1 file changed, 2 insertions(+), 5 dele

[PATCH weston] window: Allow popup menu when the window is maximised

2013-07-11 Thread Rob Bradford
From: Rob Bradford https://bugs.freedesktop.org/show_bug.cgi?id=66793 --- clients/window.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/window.c b/clients/window.c index cff7102..93a0a2c 100644 --- a/clients/window.c +++ b/clients/window.c @@ -2553,7 +2553,7 @@ fra

[PATCH] wcap: Fix README typo

2013-07-11 Thread Peng Wu
--- wcap/README | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wcap/README b/wcap/README index 666a708..0994a1b 100644 --- a/wcap/README +++ b/wcap/README @@ -2,7 +2,7 @@ WCAP Tools WCAP is the video capture format used by Weston (Weston CAPture). It's a simple, lossless f

[PATCH] Fixes a typo in wcap/README

2013-07-11 Thread Peng Wu
Fixes trivial typo Peng Wu (1): wcap: Fix README typo wcap/README | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 1.8.3.1 ___ wayland-devel mailing list wayland-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/way