[PATCH v2] compositor: insert the cursor sprite below the fade surface

2012-01-30 Thread Ander Conselvan de Oliveira
Otherwise we end up not fading the cursor if the attach happens after the fade started. Signed-off-by: Ander Conselvan de Oliveira --- src/compositor.c |8 ++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/compositor.c b/src/compositor.c index 0d63e2a..954cbd2 1006

Re: [PATCH] compositor: insert the cursor sprite below the fade surface

2012-01-30 Thread Ander Conselvan de Oliveira
On 01/31/2012 02:27 AM, Kristian Høgsberg wrote: I don't see any drag_sprite fields - did you send out the wrong patch? Looks like I did. I was trying not to miss my bus and ended up mixing things up. I'll send the correct patch shortly. Ander

Re: [PATCH] compositor: insert the cursor sprite below the fade surface

2012-01-30 Thread Kristian Høgsberg
On Mon, Jan 30, 2012 at 10:55 AM, Ander Conselvan de Oliveira wrote: > Otherwise we end up not fading the cursor if the attach happens after > the fade started. > > Signed-off-by: Ander Conselvan de Oliveira > > --- >  src/compositor.c |    9 + >  1 files changed, 9 insertions(+), 0 dele

Re: [PATCH 2/2] build: fix build of matrix test

2012-01-30 Thread Kristian Høgsberg
On Mon, Jan 30, 2012 at 8:02 AM, Ander Conselvan de Oliveira wrote: > This test uses files from src/ so use COMPOSITOR_CFLAGS to find headers > in non-standard locations. Committed, thanks. Kristian > Signed-off-by: Ander Conselvan de Oliveira > > --- >  tests/Makefile.am |    2 +- >  1 files

Re: [PATCH] Update config files to reflect new terminal name, weston-terminal.

2012-01-30 Thread Kristian Høgsberg
On Mon, Jan 30, 2012 at 9:05 AM, Scott Moreau wrote: Thanks, applied with a change to use /usr/bin/weston-terminal instead. Kristian >  weston-desktop-shell.ini |    2 +- >  weston-tablet-shell.ini  |   34 +- >  2 files changed, 18 insertions(+), 18 deletions(-)

[PATCH] clients/gears: gears needs to link against libGL

2012-01-30 Thread Jesse Barnes
If you don't have cairo-gl, the gears build won't pick up the -lGL it needs to build, so add it to Makefile.am. --- clients/Makefile.am |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/clients/Makefile.am b/clients/Makefile.am index b64c38a..32fe503 100644 --- a/clients/Ma

[PATCH 3/3] compositor-drm: add sprite support v5

2012-01-30 Thread Jesse Barnes
Add support for assigning surfaces to overlay sprites using the new assign_planes hook. v2: queue per-sprite vblank events to avoid de-queuing sprite updates for unrelated outputs (reported by krh) v3: handle output and surface transformation when calculating src & dest rects for the sprit

[PATCH 1/3] tests: add COMPOSITOR_CFLAGS to the build

2012-01-30 Thread Jesse Barnes
This lets the tests pick up headers from an alternate install root. --- tests/Makefile.am |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/tests/Makefile.am b/tests/Makefile.am index a1f361e..0b3ed40 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -6,7 +6,7 @@ en

[PATCH 2/3] compositor: add an assign_planes hook to the output

2012-01-30 Thread Jesse Barnes
This allows each output back end to optimize drawing using overlay planes and cursors (yet to be integrated). If a surface is assigned to a plane, the back end should clear its damage field so that the later repaint code won't look at it. --- src/compositor-drm.c |1 + src/compositor-open

[PATCH 3/3] tests: add COMPOSITOR_CFLAGS to the build

2012-01-30 Thread Jesse Barnes
This lets the tests pick up headers from an alternate install root. --- tests/Makefile.am |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/tests/Makefile.am b/tests/Makefile.am index a1f361e..0b3ed40 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -6,7 +6,7 @@ en

[PATCH 2/3] compositor-drm: add sprite support v3

2012-01-30 Thread Jesse Barnes
Add support for assigning surfaces to overlay sprites using the new assign_planes hook. v2: queue per-sprite vblank events to avoid de-queuing sprite updates for unrelated outputs (reported by krh) v3: handle output and surface transformation when calculating src & dest rects for the sprit

[PATCH 1/3] compositor: add an assign_planes hook to the output

2012-01-30 Thread Jesse Barnes
This allows each output back end to optimize drawing using overlay planes and cursors (yet to be integrated). If a surface is assigned to a plane, the back end should clear its damage field so that the later repaint code won't look at it. --- src/compositor-drm.c |1 + src/compositor-open

[PATCH] compositor: insert the cursor sprite below the fade surface

2012-01-30 Thread Ander Conselvan de Oliveira
Otherwise we end up not fading the cursor if the attach happens after the fade started. Signed-off-by: Ander Conselvan de Oliveira --- src/compositor.c |9 + 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/src/compositor.c b/src/compositor.c index 0d63e2a..bf6d5c1 100

Re: Configuration files (Re: [PATCH] strtol() fails on 32 bit...)

2012-01-30 Thread Pekka Paalanen
On Mon, 30 Jan 2012 09:35:03 -0500 Kristian Høgsberg wrote: > 2012/1/30 Pekka Paalanen : > > > > I'm sceptical about the whole idea of expressing an ARGB tuplet as a > > single integer because of possible endianness issues. > > There's no endian issue here: we parse the integer and shift down th

Re: Configuration files (Re: [PATCH] strtol() fails on 32 bit...)

2012-01-30 Thread Kristian Høgsberg
2012/1/30 Pekka Paalanen : > On Fri, 27 Jan 2012 11:27:48 -0500 > Kristian Høgsberg wrote: > >> On Fri, Jan 27, 2012 at 10:53 AM, Scott Moreau wrote: >> > --- >> > I'm not sure this is the correct fix but if nothing else, this can serve >> > as a bug report until the tracker is up. The problem i

[PATCH] Update config files to reflect new terminal name, weston-terminal.

2012-01-30 Thread Scott Moreau
--- weston-desktop-shell.ini |2 +- weston-tablet-shell.ini | 34 +- 2 files changed, 18 insertions(+), 18 deletions(-) diff --git a/weston-desktop-shell.ini b/weston-desktop-shell.ini index eeb89ad..73aa5ca 100644 --- a/weston-desktop-shell.ini +++ b/weston

Re: [PATCH 2/2] build: fix build of matrix test

2012-01-30 Thread Pekka Paalanen
On Mon, 30 Jan 2012 15:02:06 +0200 Ander Conselvan de Oliveira wrote: > This test uses files from src/ so use COMPOSITOR_CFLAGS to find headers > in non-standard locations. > > Signed-off-by: Ander Conselvan de Oliveira > > --- > tests/Makefile.am |2 +- > 1 files changed, 1 insertions(+)

[PATCH] shell: add key binding for destoying a surface.

2012-01-30 Thread Scott Moreau
--- clients/window.c | 15 ++- src/shell.c | 34 ++ 2 files changed, 48 insertions(+), 1 deletions(-) diff --git a/clients/window.c b/clients/window.c index 6c00186..b9e8fb7 100644 --- a/clients/window.c +++ b/clients/window.c @@ -2103,9 +2103,

[PATCH] protocol: Add close event to wl_shell_surface.

2012-01-30 Thread Scott Moreau
--- protocol/wayland.xml |7 +++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/protocol/wayland.xml b/protocol/wayland.xml index cad2507..4413f97 100644 --- a/protocol/wayland.xml +++ b/protocol/wayland.xml @@ -474,6 +474,13 @@ to the client owning the popup surfac

[PATCH 2/2] build: fix build of matrix test

2012-01-30 Thread Ander Conselvan de Oliveira
This test uses files from src/ so use COMPOSITOR_CFLAGS to find headers in non-standard locations. Signed-off-by: Ander Conselvan de Oliveira --- tests/Makefile.am |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/tests/Makefile.am b/tests/Makefile.am index a1f361e..9fac

[PATCH 1/2] compositor: drop privileges if not using the drm backend

2012-01-30 Thread Ander Conselvan de Oliveira
Signed-off-by: Ander Conselvan de Oliveira --- src/compositor.c |8 ++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/compositor.c b/src/compositor.c index ab184ac..0d63e2a 100644 --- a/src/compositor.c +++ b/src/compositor.c @@ -,10 +,14 @@ int main(int ar

Configuration files (Re: [PATCH] strtol() fails on 32 bit...)

2012-01-30 Thread Pekka Paalanen
On Fri, 27 Jan 2012 11:27:48 -0500 Kristian Høgsberg wrote: > On Fri, Jan 27, 2012 at 10:53 AM, Scott Moreau wrote: > > --- > > I'm not sure this is the correct fix but if nothing else, this can serve as > > a bug report until the tracker is up. The problem is that config-parser > > sets varia

Re: [PULL] Surface transformations v1

2012-01-30 Thread Pekka Paalanen
On Fri, 27 Jan 2012 13:27:02 -0800 Bill Spitzak wrote: > I have no idea if you need this, but here is free code to do the matrix > inversion. This is code I wrote and is public domain (although I > certainly referred to a book to generate it, but I can't see that being > a copyright problem).