Re: xorg.conf sample for xwayland with wlshm DDX.

2013-01-29 Thread ashjas
Hello.. apart from the xorg conf i didnt require anything seperately.. but just for feedback, i would like to point out one small issue that i faced while building WLSHM: my exports: export WLD=/home/abc/WAYLANDINSTALLDIR export LD_LIBRARY_PATH=$WLD/lib export PKG_CONFIG_PATH=$WLD/lib/pkgconfig/:$

[PATCH weston] tests: fix assignment typo, should be comparison

2013-01-29 Thread U. Artie Eoff
From: "U. Artie Eoff" Signed-off-by: U. Artie Eoff --- tests/surface-global-test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/surface-global-test.c b/tests/surface-global-test.c index dbb8c8d..5908f60 100644 --- a/tests/surface-global-test.c +++ b/tests/surface-gl

Re: [PATCH] protocol: Add a request and event to identify the visible area for a surface

2013-01-29 Thread Bill Spitzak
Kristian Høgsberg wrote: It's done this way so that the compositor can provide the biggest possible visible area for the rectangle of interest. If your main surface is rotated, the edges of the screen are at an angle with the window edges. How do you define "the biggest visible area" in that

[PATCH wayland 4/4] Fill out dummy objects in tests so dispatchers

2013-01-29 Thread Jason Ekstrand
Signed-off-by: Jason Ekstrand --- tests/connection-test.c | 35 +-- tests/os-wrappers-test.c | 11 +-- 2 files changed, 38 insertions(+), 8 deletions(-) diff --git a/tests/connection-test.c b/tests/connection-test.c index 1ac88d2..49b968b 100644 --- a/te

[PATCH wayland 3/4] Convert wl_closure to use wl_argument and enable dispatchers

2013-01-29 Thread Jason Ekstrand
Signed-off-by: Jason Ekstrand --- src/connection.c | 326 +- src/wayland-client.c | 15 ++- src/wayland-private.h | 10 +- src/wayland-server.c | 22 +--- src/wayland-util.h| 26 +++- 5 files changed, 203 insertions(+), 196 deletions

[PATCH wayland 1/4] Make a #define for WL_CLOSURE_MAX_ARGS instead of

2013-01-29 Thread Jason Ekstrand
Signed-off-by: Jason Ekstrand --- src/wayland-private.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/wayland-private.h b/src/wayland-private.h index 4ec9896..ecd7f17 100644 --- a/src/wayland-private.h +++ b/src/wayland-private.h @@ -39,6 +39,7 @@ #define WL_MAP_S

[PATCH wayland 2/4] Add a default dispatcher function and related test

2013-01-29 Thread Jason Ekstrand
Signed-off-by: Jason Ekstrand --- src/connection.c| 80 + src/wayland-private.h | 5 +++ src/wayland-util.h | 12 +++ tests/.gitignore| 1 + tests/Makefile.am | 2 ++ tests/dispatcher-test.c | 96

[PATCH wayland 0/4] wayland: Add support for custom dispatchers

2013-01-29 Thread Jason Ekstrand
Jason Ekstrand (4): Make a #define for WL_CLOSURE_MAX_ARGS instead of a magic number. Add a default dispatcher function and related test Convert wl_closure to use wl_argument and enable dispatchers Fill out dummy objects in tests so dispatchers will work src/connection.c | 404 +++

Re: [PATCH] pixman renderer: respect output position

2013-01-29 Thread Kristian Høgsberg
On Tue, Jan 29, 2013 at 02:58:14PM +0300, Vasily Khoruzhick wrote: > Signed-off-by: Vasily Khoruzhick That looks better, thanks. Committed. Kristian > src/pixman-renderer.c | 44 > 1 file changed, 28 insertions(+), 16 deletions(-) > > diff --git a

Re: [PATCH weston] shell: Whitespaces cleanup

2013-01-29 Thread Kristian Høgsberg
On Tue, Jan 29, 2013 at 02:16:13PM +0100, Quentin Glidic wrote: Thanks, committed. Kristian > Signed-off-by: Quentin Glidic > --- > src/shell.c | 12 ++-- > 1 file changed, 6 insertions(+), 6 deletions(-) > > diff --git a/src/shell.c b/src/shell.c > index a99786b..368fa5b 100644 > ---

[PATCH weston] shell: Whitespaces cleanup

2013-01-29 Thread Quentin Glidic
Signed-off-by: Quentin Glidic --- src/shell.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/shell.c b/src/shell.c index a99786b..368fa5b 100644 --- a/src/shell.c +++ b/src/shell.c @@ -243,12 +243,12 @@ shell_surface_is_top_fullscreen(struct shell_surface *

[PATCH] pixman renderer: respect output position

2013-01-29 Thread Vasily Khoruzhick
Signed-off-by: Vasily Khoruzhick --- src/pixman-renderer.c | 44 1 file changed, 28 insertions(+), 16 deletions(-) diff --git a/src/pixman-renderer.c b/src/pixman-renderer.c index 908824c..9571f6f 100644 --- a/src/pixman-renderer.c +++ b/src/pixman-re

Re: xorg.conf sample for xwayland with wlshm DDX.

2013-01-29 Thread ashjas
Darxus, thanks for that information.. yes please add the information to the build docs as it is necessary to have the xorg.conf at $WLD/etc/X11/xorg.conf This information was all that was needed to run xwayland using wlshm DDX.. : Section "Device" Identifier "Device" Driver "wlshm

Re: xorg.conf sample for xwayland with wlshm DDX.

2013-01-29 Thread darxus
On 01/29, ashjas wrote: >an xorg.conf containing 'Driver "wlshm"' >i am not sure how to put an entry like this in the >$WLD/share/X11/xorg.conf.d/10-evdev.conf conf file.. http://lists.freedesktop.org/archives/wayland-devel/2012-April/003106.html Some stuff in that post is not current

Re: [PATCH 1/2] matrix: track transform type

2013-01-29 Thread Pekka Paalanen
On Mon, 28 Jan 2013 22:40:28 +0300 Vasily Khoruzhick wrote: > Introduce several matrix transform types and track type for matrix. > Could be usefull for activating some fastpath that depends on some > transform type. > > Signed-off-by: Vasily Khoruzhick > --- > shared/matrix.c | 23 ++

Re: [PATCH 1/2] matrix: track transform type

2013-01-29 Thread Pekka Paalanen
On Mon, 28 Jan 2013 16:21:11 -0500 Kristian Høgsberg wrote: > On Mon, Jan 28, 2013 at 10:40:28PM +0300, Vasily Khoruzhick wrote: > > Introduce several matrix transform types and track type for matrix. > > Could be usefull for activating some fastpath that depends on some > > transform type. > >

Re: [PATCH 1/2] shell: Implement the probe_area request on the shell surface

2013-01-29 Thread Pekka Paalanen
On Mon, 28 Jan 2013 17:19:26 + Rob Bradford wrote: > From: Rob Bradford > > --- > src/shell.c | 81 > - 1 file > changed, 80 insertions(+), 1 deletion(-) > > diff --git a/src/shell.c b/src/shell.c > index aa1c7c1..58b5892 100644 >

Destroy requests (Re: [PATCH] protocol: Add a request and event to identify the visible area for a surface)

2013-01-29 Thread Pekka Paalanen
On Mon, 28 Jan 2013 13:32:54 -0500 Kristian Høgsberg wrote: > On Mon, Jan 28, 2013 at 05:18:34PM +, Rob Bradford wrote: > > From: Rob Bradford > > > > Add a probe_area request to the wl_shell_surface interface along > > with a visible_area event to communicate the result of the probe. > >

Re: ask for help about multi-display in wayland

2013-01-29 Thread Pekka Paalanen
On Tue, 29 Jan 2013 03:03:03 + "Tay, Boon Wooi" wrote: > Jack, > > The last Wayland/Weston version we (EMGD on TNC) supported was 1.0.1 > and Clone/Extended mode is not possible on Weston without modifying > the source. > Hi, Weston has some repainting problems for clone mode, but extend