[PATCH wayland] wayland: Add --with-tests-environment option to configure

2012-05-04 Thread U. Artie Eoff
From: "U. Artie Eoff" The --with-tests-environment allows one to specify a custom tests environment script. This is useful for customizing and/or normalizing test result output to whatever format necessary (e.g. xml). Signed-off-by: U. Artie Eoff --- configure.ac |7 +++ tests/Ma

[PATCH weston] Add --with-tests-environment option to configure

2012-05-04 Thread U. Artie Eoff
From: "U. Artie Eoff" The --with-tests-environment allows one to specify a custom tests environment script. This is useful for customizing and/or normalizing test result output to whatever format necessary (e.g. xml). Signed-off-by: U. Artie Eoff --- configure.ac |7 +++ tests/Ma

Re: Chromium based Aura under Wayland (0/3)

2012-05-04 Thread yan . wang
> 2012. 5. 4. ¿ÀÈÄ 7:27¿¡ ´ÔÀÌ ÀÛ¼º: >> >> > Sorry, this is question about chromium. >> > Does aura's backend platform is gles/egl ? >> >> For normal chromium browser based on Aura, it could use one of GLX, EGL >> and OSMesaGL. In my porting, it only uses EGL (gles2). > > Could it choose among thre

Re: Chromium based Aura under Wayland (0/3)

2012-05-04 Thread darxus
On 05/04, yan.w...@linux.intel.com wrote: > I did some porting of Chromium browser based on Aura. Now it could run > on Weston and display web page by input URL. I attached some my screen Great, what do I need to do to run Chromium in Weston? -- "The reasonable man adapts himself to the world;

[Re: [PATCH] Weston: window.c: Frame buttons]

2012-05-04 Thread Martin Minarik
> +static int > +framebutton_enter_handler(struct widget *widget, > + struct input *input, uint32_t time, > + int32_t x, int32_t y, void *data) > +{ I've just noticed, This should be (since commit eae5de76090e18f7a4c2f654cfd94307fc2dbdd8 ) static int framebutton_enter_han

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

2012-05-04 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 exposed as an int32_t with macro conversion helpers to and from double and int on the C API side. Signed-off-by: Daniel Stone --- src/Makefile.am |4 +

Re: Chromium based Aura under Wayland (0/3)

2012-05-04 Thread Simon Hong
2012. 5. 4. 오후 7:27에 님이 작성: > > > Sorry, this is question about chromium. > > Does aura's backend platform is gles/egl ? > > For normal chromium browser based on Aura, it could use one of GLX, EGL > and OSMesaGL. In my porting, it only uses EGL (gles2). Could it choose among three options by just

Re: Chromium based Aura under Wayland (0/3)

2012-05-04 Thread yan . wang
> Sorry, this is question about chromium. > Does aura's backend platform is gles/egl ? For normal chromium browser based on Aura, it could use one of GLX, EGL and OSMesaGL. In my porting, it only uses EGL (gles2). Thanks. Yan Wang > 2012. 5. 4. ¿ÀÈÄ 5:43¿¡ ´ÔÀÌ ÀÛ¼º: >> >> Hi, All, >> I did som

[PATCH weston v3 6/8] Add 24.8 versions of weston_surface_{to, from}_global

2012-05-04 Thread Daniel Stone
To be used by input code, paralleling the existing integer versions. Enlarge the surface_{to,from}_global_float input types to double to avoid losing precision. Signed-off-by: Daniel Stone --- src/compositor.c | 38 +++--- src/compositor.h | 10 +- 2

[PATCH weston v3 8/8] Convert wire input co-ordinates to signed_24_8

2012-05-04 Thread Daniel Stone
To add greater precision when working with transformed surfaces and/or high-resolution input devices. Signed-off-by: Daniel Stone --- clients/simple-touch.c | 20 ++ clients/window.c | 22 +++- src/compositor-wayland.c |8 -- src/compositor.c

[PATCH weston v3 7/8] Convert internal input co-ordinates to double

2012-05-04 Thread Daniel Stone
Change all client motion handlers to take doubles for co-ordinates, rather than int32_t. Signed-off-by: Daniel Stone --- clients/desktop-shell.c |4 ++-- clients/dnd.c | 10 +- clients/eventdemo.c |4 ++-- clients/flower.c|2 +- clients/gears.c

[PATCH weston v3 5/8] Rename 'state' in axis (or ambiguous) bindings to 'value'

2012-05-04 Thread Daniel Stone
Since it's usually an axis value rather than a boolean, be slightly more explicit about it. Signed-off-by: Daniel Stone --- src/compositor.h |8 +--- src/shell.c | 20 +--- src/util.c |6 +++--- 3 files changed, 21 insertions(+), 13 deletions(-) v3: New.

[PATCH weston v3 4/8] Rename 'state' for key/button to 'is_down'

2012-05-04 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 v3 2/8] Change key/button grab bindings to take unsigned state

2012-05-04 Thread Daniel Stone
'state' here meaning 'is it up or down?', obviously. Signed-off-by: Daniel Stone --- clients/clickdot.c |2 +- clients/desktop-shell.c |6 +++--- clients/dnd.c |2 +- clients/eventdemo.c |2 +- clients/flower.c|2 +- clients/gears.c |2 +

[PATCH weston v3 3/8] Change button from int to uint32_t

2012-05-04 Thread Daniel Stone
Since you can't really have a negative button number. Signed-off-by: Daniel Stone --- clients/clickdot.c |2 +- clients/desktop-shell.c |6 +++--- clients/dnd.c |2 +- clients/eventdemo.c |2 +- clients/flower.c|2 +- clients/gears.c |2

[PATCH weston v3 1/8] test-client: Include poll.h to silence warning

2012-05-04 Thread Daniel Stone
Signed-off-by: Daniel Stone --- tests/test-client.c |1 + 1 file changed, 1 insertion(+) v3: New. diff --git a/tests/test-client.c b/tests/test-client.c index 1db1615..f490b27 100644 --- a/tests/test-client.c +++ b/tests/test-client.c @@ -25,6 +25,7 @@ #include #include #include +#inc

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

2012-05-04 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 src/wayland-server.c |6 +++--- src/wayland-server.h | 18 +++--- 3 files changed, 26 insertions(

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

2012-05-04 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 v3 1/5] tests: Fix out-of-tree builds

2012-05-04 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(-) v3: No changes. diff --git a/tests/Makefile.am b/tests/Makefile.am index 7449545..767919e 100644 ---

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

2012-05-04 Thread Daniel Stone
Hi all, This is v3 of the wl_signed_24_8_t series, which uses a new typedef with accessor macros instead of doubles. This involved quite a few more changes in Weston as we couldn't just rely on automatic promotion/demotion but had to put explicit conversions in everywhere. As previously, it's ava

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

2012-05-04 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(-) v3: No changes. diff --git a

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

2012-05-04 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

Re: Chromium based Aura under Wayland (0/3)

2012-05-04 Thread Simon Hong
Sorry, this is question about chromium. Does aura's backend platform is gles/egl ? 2012. 5. 4. 오후 5:43에 님이 작성: > > Hi, All, > I did some porting of Chromium browser based on Aura. Now it could run > on Weston and display web page by input URL. I attached some my screen > shot pictures for your ref

Re: Chromium based Aura under Wayland (0/3)

2012-05-04 Thread yan . wang
> On 05/04/2012 04:40 PM, yan.w...@linux.intel.com wrote: >> Hi, All, >>I did some porting of Chromium browser based on Aura. Now it could >> run >> on Weston and display web page by input URL. I attached some my screen >> shot pictures for your reference. > > Glad to see it in the maillist.

Re: Chromium based Aura under Wayland (0/3)

2012-05-04 Thread Juan Zhao
On 05/04/2012 04:40 PM, yan.w...@linux.intel.com wrote: Hi, All, I did some porting of Chromium browser based on Aura. Now it could run on Weston and display web page by input URL. I attached some my screen shot pictures for your reference. Glad to see it in the maillist. I saw your screen-

Re: [Patch 3/5 v2] Improve wayland-drm to wayland-gbm to act as generic buffer manager for wayland

2012-05-04 Thread Zhao, Halley
Thanks Juan. it is similar to gbm_bo_create_from_egl_image(), and extends the usage to share drm/gbm buffers basing on native handle instead of EGLImage/__DRIimage; which is convenient for vaapi driver. we can see that weston has already shared EGLImage(for texture) with client in weston_surface_