[PATCH demos 2/2] opengles2: Add es2gears_wayland target

2012-05-01 Thread zhiwen . wu
From: Alex Wu Since we already have wayland support in eglut, add a target for es2geares_wayland. --- src/egl/opengles2/Makefile.am |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/src/egl/opengles2/Makefile.am b/src/egl/opengles2/Makefile.am index c84d91d..41c1b80 1

[PATCH demos 1/2] eglut: Add wayland support

2012-05-01 Thread zhiwen . wu
From: Alex Wu This patch adds wayland support for eglut, so that the demos based on eglut can run on wayland platform. --- configure.ac | 14 src/egl/eglut/Makefile.am | 15 - src/egl/eglut/eglut_wayland.c | 135 + 3 file

[PULL demos] eglut: Add wayland support

2012-05-01 Thread zhiwen . wu
The following changes since commit ebe0ddf657903bef32a161dc66254fbf8725f986: util: add gl_wrap.h and glu_wrap.h to libutil_la_SOURCES (2012-04-23 08:21:43 -0600) Alex Wu (2): eglut: Add wayland support opengles2: Add es2gears_wayland target configure.ac | 14 +

[PATCH] server: Post new globals to current clients

2012-05-01 Thread npouillon
From: Nicolas Pouillon Globals are bursted to client on conntect. Now when new global objects are added to the server state, existing clients also get notified. --- src/wayland-server.c |8 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/src/wayland-server.c b/src/wa

Re: [PULL weston] simple fixes

2012-05-01 Thread Christopher Michael
On 05/01/12 20:24, Juan Zhao wrote: On 04/27/2012 03:24 PM, Pekka Paalanen wrote: Now, with pictures! http://ppaalanen.blogspot.com/2012/04/improved-appearance-for-simplest.html Exactly, I like the new appearance. :) Thanks, Juan Agreed. Much more pleasant and Demonstrative !! Should go I

Re: [PULL weston] simple fixes

2012-05-01 Thread Juan Zhao
On 04/27/2012 03:24 PM, Pekka Paalanen wrote: Now, with pictures! http://ppaalanen.blogspot.com/2012/04/improved-appearance-for-simplest.html Exactly, I like the new appearance. :) Thanks, Juan ___ wayland-devel mailing list wayland-devel@lists.fre

[PATCH 4/4] Load an XKB keymap and state in the compositor

2012-05-01 Thread Daniel Stone
Not used yet, but will be in future commits. Signed-off-by: Daniel Stone --- src/compositor.c | 23 +++ src/compositor.h |3 +++ 2 files changed, 26 insertions(+) diff --git a/src/compositor.c b/src/compositor.c index a7e62a6..086a650 100644 --- a/src/compositor.c +++

[PATCH 3/4] Link compositors to xkbcommon as well

2012-05-01 Thread Daniel Stone
Signed-off-by: Daniel Stone --- configure.ac | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index 6da7922..ea75588 100644 --- a/configure.ac +++ b/configure.ac @@ -124,6 +124,10 @@ fi COMPOSITOR_LIBS="$COMPOSITOR_LIBS $IMAGE_LIBS" CO

[PATCH 2/4] Add xkb_names member plus config + X11 support

2012-05-01 Thread Daniel Stone
Add an xkb_names member to the base compositor info which contains the RMLVO to use when building an XKB keymap. Add support for filling this from the config file or from the underlying X11 server, with the usual defaults. Signed-off-by: Daniel Stone --- src/compositor-x11.c | 41

[PATCH 1/4] Port Wayland clients to new xkbcommon API

2012-05-01 Thread Daniel Stone
Signed-off-by: Daniel Stone --- clients/eventdemo.c |5 ++- clients/terminal.c | 33 ++ clients/window.c| 96 +++ clients/window.h|9 +++-- 4 files changed, 88 insertions(+), 55 deletions(-) diff --git a/clients

[PATCH weston 0/5] xkbcommon updates

2012-05-01 Thread Daniel Stone
Hi, This patchset updates the clients to the new xkbcommon API (which just dropped in master, although it's been sitting in my personal tree for some time now), and also introduces XKB support in the compositor. The latter is unused for now, but will be part of the forthcoming stateful protocol.

[PATCH weston 3/3] Convert input co-ordinates from uint32 to signed_24_8

2012-05-01 Thread Daniel Stone
For greater precision. Signed-off-by: Daniel Stone --- clients/dnd.c|2 +- clients/eventdemo.c |4 ++-- clients/flower.c |2 +- clients/gears.c |2 +- clients/simple-touch.c |8 clients/smoke.c |2 +- clients/terminal.

[PATCH weston 2/3] Rename 'state' for key/button to 'is_down'

2012-05-01 Thread Daniel Stone
Since it's just a boolean indicating whether or not the key is down, and state is such a hopelessly overloaded word. And, er, XKB uses it quite pervasively for modifier/group information. Signed-off-by: Daniel Stone --- clients/clickdot.c |8 clients/desktop-shell.c | 12 +

[PATCH weston 1/3] Change key/button grab bindings to take unsigned state

2012-05-01 Thread Daniel Stone
'state' here meaning 'is it up or down?', obviously. Signed-off-by: Daniel Stone --- src/shell.c | 10 +- src/util.c |2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/shell.c b/src/shell.c index 6b2ccbc..6b8719c 100644 --- a/src/shell.c +++ b/src/shell.c @@

[PATCH wayland 5/5] Input: Convert pointer co-ordinates to signed_24_8

2012-05-01 Thread Daniel Stone
This offers more precision when using devices like tablets, and also for transformed surfaces. Signed-off-by: Daniel Stone --- protocol/wayland.xml | 24 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/protocol/wayland.xml b/protocol/wayland.xml index 5

[PATCH wayland 1/5] tests: Fix out-of-tree builds

2012-05-01 Thread Daniel Stone
Make sure we include any generated headers from src/ as well, like wayland-version.h. Signed-off-by: Daniel Stone --- tests/Makefile.am |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Makefile.am b/tests/Makefile.am index 7449545..767919e 100644 --- a/tests/Makefile.

[PATCH wayland 2/5] Use unsigned for key/button up/down state in grabs

2012-05-01 Thread Daniel Stone
Since we just use it as a simple boolean flag, might as well convert it to unsigned. Signed-off-by: Daniel Stone --- src/data-device.c|2 +- src/wayland-server.c |4 ++-- src/wayland-server.h |4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/data-device.

[PATCH wayland 3/5] Rename key/button 'state' to is_down

2012-05-01 Thread Daniel Stone
As it's actually a boolean to indicate whether or not the key or button is down, rather than a 32-bit wide state mask. Signed-off-by: Daniel Stone --- protocol/wayland.xml |4 ++-- src/data-device.c|6 +++--- src/wayland-server.c | 10 +- src/wayland-server.h |4 ++-- 4

[PATCH wayland 4/5] Add support for signed 24.8 decimal numbers

2012-05-01 Thread Daniel Stone
signed_24_8 is a signed decimal type which offers a sign bit, 23 bits of integer precision, and 8 bits of decimal precision. This is converted to double on the C API side, as passing through varargs involves an implicit type promotion to double anyway. Signed-off-by: Daniel Stone --- src/Makefi

[PATCH 0/8] Convert input co-ordinates to fixed-point

2012-05-01 Thread Daniel Stone
Hi, The following patches (5 for the protocol and 3 for Weston) convert the protocol to use signed 24.8 (well, 23.8 plus a sign bit) floats rather than integers, which will help with transformed surfaces and high-precision devices like graphics tablets. There's also a couple of cleanup patches thr

Re: Weston on Android - First light

2012-05-01 Thread Graham Cantin
On Mon, Apr 30, 2012 at 12:50 PM, Pekka Paalanen wrote: > > On Sat, 28 Apr 2012 10:00:18 +0800 > Alex Wu wrote: > > > 于 2012/4/27 20:56, Pekka Paalanen 写道: > > > Hi all, > > > > > > I am happy to announce the first step towards a Wayland stack on > > > Android: simple-shm runs with Weston on a Ga

Re: wayland/weston on displaylink?

2012-05-01 Thread Sander
David Herrmann wrote (ao): > On Tue, May 1, 2012 at 8:50 AM, Sander wrote: > > yan.w...@linux.intel.com wrote (ao): > >> > Would it be possible to run weston on a displaylink device? > >> > >> By my understanding, display link device should have multiply methods to > >> display. One is capture scr

Re: wayland/weston on displaylink?

2012-05-01 Thread David Herrmann
Hi Sander On Tue, May 1, 2012 at 8:50 AM, Sander wrote: > yan.w...@linux.intel.com wrote (ao): >> > Would it be possible to run weston on a displaylink device? >> >> By my understanding, display link device should have multiply methods to >> display. One is capture screen image by software and tr