[PATCH weston v2 6/6] tests: Convert button-test to new test extension

2012-12-07 Thread U. Artie Eoff
From: "U. Artie Eoff" Fixes https://bugs.freedesktop.org/show_bug.cgi?id=56821 Signed-off-by: U. Artie Eoff --- tests/.gitignore| 1 + tests/Makefile.am | 14 -- tests/button-test.c | 128 +--- 3 files changed, 32 insertions(+), 111

[PATCH weston v2 5/6] tests: Convert event-test to new test extension

2012-12-07 Thread U. Artie Eoff
From: "U. Artie Eoff" Fixes https://bugs.freedesktop.org/show_bug.cgi?id=56819 Signed-off-by: U. Artie Eoff --- tests/.gitignore | 1 + tests/Makefile.am | 9 +- tests/event-test.c | 527 +++-- 3 files changed, 272 insertions(+), 265 delet

[PATCH weston v2 4/6] tests: Convert keyboard-test to new test extension

2012-12-07 Thread U. Artie Eoff
From: "U. Artie Eoff" This adds a weston-test-runner for the weston test extension and some weston test client helper methods. Converted keyboard-test to use the new test interface, runner, and helper methods. Fixes https://bugs.freedesktop.org/show_bug.cgi?id=56822 Signed-off-by: U. Artie Eof

[PATCH weston v2 3/6] tests: Allow weston-tests-env to process different test types

2012-12-07 Thread U. Artie Eoff
From: "U. Artie Eoff" The weston-tests-env script needs to be able to handle weston test extension style tests as well as module style tests. Signed-off-by: U. Artie Eoff --- tests/weston-tests-env | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) mode change 100644 => 100755 te

[PATCH weston v2 2/6] tests: Rename weston-test to weston-tests-env

2012-12-07 Thread U. Artie Eoff
From: "U. Artie Eoff" Renamed weston-test test environment script to weston-tests-env to avoid ambiguity with weston-test.c (the weston test extension). Signed-off-by: U. Artie Eoff --- tests/Makefile.am | 4 ++-- tests/weston-test | 4 tests/weston-tests-env | 4 3 files c

[PATCH weston v2 1/6] tests: Define and implement a test protocol extension.

2012-12-07 Thread U. Artie Eoff
From: "U. Artie Eoff" The weston test extension, called weston-test.so, can be loaded from the "modules" configuration option on the command line or in the .ini file. Clients can bind to the "wl_test" interface to interact with the weston test extension. Signed-off-by: U. Artie Eoff --- proto

[PATCH weston v2 0/6] Wayland/Weston Test Extension

2012-12-07 Thread U. Artie Eoff
From: "U. Artie Eoff" Define a relatively generic protocol for a Wayland Test Extension. Provide a Weston implementation and use it in the Weston client tests. Support both module-style and extension-style tests. Addresses bugs: https://bugs.freedesktop.org/show_bug.cgi?id=56819 https://bugs.

RE: [PATCH weston 6/9] tests: Allow weston-tests-env to process different test types

2012-12-07 Thread Eoff, Ullysses A
>> I would be happy with this solution, too. However, I don't see anything here >> that explicitly tells Weston to exit after the client tests are finished. >> That is, >> wl_display_terminate(test->compositor->wl_display). Otherwise, the >> tests won't finish. > >Right, we need that in there

Re: [PATCH] shared: Fix build to ensure weston_matrix_ is still exported

2012-12-07 Thread Kristian Høgsberg
On Fri, Dec 07, 2012 at 05:36:13PM +, Rob Bradford wrote: > From: Rob Bradford > > We need to ensure that weston_matrix_ functions are available so include > wayland-util.h to provide the WL_EXPORT macro. To ensure that that header file > can be found we must search the appropriate path. Addi

Newest git version of Wayland is even worse

2012-12-07 Thread Bill Spitzak
Okay the newest version does not even run simple-shm for me. I hope somebody has a hint as to what is wrong and how to fix it, as I am very interested in wayland development but rather limited as long as I cannot test any changes! I deleted my ~/install directory and managed to build wayland,

[PATCH] shared: Fix build to ensure weston_matrix_ is still exported

2012-12-07 Thread Rob Bradford
From: Rob Bradford We need to ensure that weston_matrix_ functions are available so include wayland-util.h to provide the WL_EXPORT macro. To ensure that that header file can be found we must search the appropriate path. Adding $(COMPOSITOR_CFLAGS) to the CFLAGS is sufficient. --- shared/Makefil

Re: Sub-surface protocol

2012-12-07 Thread Bill Spitzak
On 12/07/2012 06:39 AM, Kristian Høgsberg wrote: On Fri, Dec 07, 2012 at 01:07:33PM +0200, Pekka Paalanen wrote: On Fri, 7 Dec 2012 12:34:46 +0200 Pekka Paalanen wrote: On Wed, 05 Dec 2012 22:45:14 -0800 Bill Spitzak wrote: Committing changes I think it may work that a commit on a parent

Re: [PATCH weston 6/9] tests: Allow weston-tests-env to process different test types

2012-12-07 Thread Kristian Høgsberg
On Fri, Dec 07, 2012 at 02:49:06PM +, Eoff, Ullysses A wrote: > >-Original Message- > >From: Kristian Høgsberg [mailto:hoegsb...@gmail.com] > >Sent: Thursday, December 06, 2012 6:56 PM > >To: Eoff, Ullysses A > >Cc: wayland-devel@lists.freedesktop.org > >Subject: Re: [PATCH weston 6/9]

Re: [PATCH weston] shared: fix matrix build failure

2012-12-07 Thread Kristian Høgsberg
On Fri, Dec 07, 2012 at 03:26:28PM +0200, Pekka Paalanen wrote: > Fix the error > matrix.c:27:28: fatal error: wayland-server.h: No such file or directory > > The only thing needed from wayland-server.h was WL_EXPORT. It was used > for exporting the matrix functions from Weston core to the modules

RE: [PATCH weston 6/9] tests: Allow weston-tests-env to process different test types

2012-12-07 Thread Eoff, Ullysses A
>-Original Message- >From: Kristian Høgsberg [mailto:hoegsb...@gmail.com] >Sent: Thursday, December 06, 2012 6:56 PM >To: Eoff, Ullysses A >Cc: wayland-devel@lists.freedesktop.org >Subject: Re: [PATCH weston 6/9] tests: Allow weston-tests-env to process >different test types > >On Tue, Dec

Re: Sub-surface protocol

2012-12-07 Thread Kristian Høgsberg
On Fri, Dec 07, 2012 at 01:07:33PM +0200, Pekka Paalanen wrote: > On Fri, 7 Dec 2012 12:34:46 +0200 > Pekka Paalanen wrote: > > > On Wed, 05 Dec 2012 22:45:14 -0800 > > Bill Spitzak wrote: > > > > > > Committing changes > > > > > > I think it may work that a commit on a parent is an implied co

Re: Sub-surface protocol

2012-12-07 Thread Kristian Høgsberg
On Fri, Dec 07, 2012 at 10:31:20AM +0200, Pekka Paalanen wrote: > On Wed, 05 Dec 2012 15:43:18 -0200 > Tiago Vignatti wrote: > > > Hi, > > > > On 12/05/2012 12:32 PM, Pekka Paalanen wrote: > > > > > > I have not even thought about sub-surfaces' implications to input > > > handling or the shell y

Re: [PATCH 2/5] Move matrix.[ch] to shared

2012-12-07 Thread Rob Bradford
On 7 December 2012 09:14, Ander Conselvan de Oliveira wrote: > This breaks if wayland headers are not installed in /usr/include. I get: > > make[2]: Entering directory `/home/ander/wayland/weston/shared' > CC libshared_la-matrix.lo > matrix.c:27:28: fatal error: wayland-server.h: No such fil

[PATCH weston] shared: fix matrix build failure

2012-12-07 Thread Pekka Paalanen
Fix the error matrix.c:27:28: fatal error: wayland-server.h: No such file or directory The only thing needed from wayland-server.h was WL_EXPORT. It was used for exporting the matrix functions from Weston core to the modules. Remove the use of WL_EXPORT. It is not needed anymore, because core and

[PATCH weston] compositor-drm: Use overlays for ARGB surfaces if they are opaque

2012-12-07 Thread Ander Conselvan de Oliveira
Since the call to drmModeSetPlane() fails with EINVAL if the supplied fb has an unsupported format (which is the case of ARGB), the fb format needs to be overridden. --- src/compositor-drm.c | 27 ++- 1 file changed, 22 insertions(+), 5 deletions(-) diff --git a/src/

Re: [PATCH weston 2/3] window: Bring back support for rgb windows

2012-12-07 Thread Ander Conselvan de Oliveira
On 12/07/2012 05:03 AM, Kristian Høgsberg wrote: On Wed, Dec 05, 2012 at 03:14:05PM +0200, Ander Conselvan de Oliveira wrote: This let us test overlays with toytoolkit applications. We can't just rely on the opaque region, because a drmModeSetPlane() call will fail if we use an ARGB bo because o

Re: Sub-surface protocol

2012-12-07 Thread Pekka Paalanen
On Fri, 7 Dec 2012 12:34:46 +0200 Pekka Paalanen wrote: > On Wed, 05 Dec 2012 22:45:14 -0800 > Bill Spitzak wrote: > > > > Committing changes > > > > I think it may work that a commit on a parent is an implied commit on > > all the children. To make a set of child surfaces all resize in uniso

Re: Sub-surface protocol

2012-12-07 Thread Pekka Paalanen
On Wed, 05 Dec 2012 22:45:14 -0800 Bill Spitzak wrote: > Pekka Paalanen wrote: > > > I am currently looking into sub-surfaces, first to sketch the protocol > > extension, and I have some open questions. I decided to write an > > exhaustive document, so we would all be on the same page, and also

Re: [PATCH 2/5] Move matrix.[ch] to shared

2012-12-07 Thread Ander Conselvan de Oliveira
This breaks if wayland headers are not installed in /usr/include. I get: make[2]: Entering directory `/home/ander/wayland/weston/shared' CC libshared_la-matrix.lo matrix.c:27:28: fatal error: wayland-server.h: No such file or directory Cheers, Ander On 12/03/2012 09:44 PM, Rob Bradford w

Re: Sub-surface protocol

2012-12-07 Thread Pekka Paalanen
On Wed, 05 Dec 2012 15:43:18 -0200 Tiago Vignatti wrote: > Hi, > > On 12/05/2012 12:32 PM, Pekka Paalanen wrote: > > > > I have not even thought about sub-surfaces' implications to input > > handling or the shell yet. Sub-surfaces probably need to be able to > > receive input. The shell perhaps

Re: get started

2012-12-07 Thread Pekka Paalanen
On Fri, 7 Dec 2012 12:53:36 +0530 Selva kumar wrote: > how to get started with learning wayland and weston. what is the > significance of protocol xml file? can anyone provide an idea of how > wayland is organized. like little deep arhcitecture diagram? Hi, read through http://wayland.freedeskt