[PATCH 3/3 v2] Send surface enter/leave events

2012-04-19 Thread cdahlin
From: Casey Dahlin These new protocol events allow us to tell which outputs a surface is on, and potentially update where we allocate our buffers from. Signed-off-by: Casey Dahlin --- src/compositor.c | 69 +- src/compositor.h |7 +

[PATCH 2/3] Add an id field to outputs

2012-04-19 Thread cdahlin
From: Casey Dahlin All outputs now have a unique integer ID, allocated from a bitfield pool in the compositor. Signed-off-by: Casey Dahlin --- src/compositor.c | 15 +++ src/compositor.h |4 2 files changed, 19 insertions(+), 0 deletions(-) diff --git a/src/compositor.c

[PATCH 1/3] Change find_resource_for_surface to find_resource_for_client

2012-04-19 Thread cdahlin
From: Casey Dahlin This function has generic applications and should be made generic. Signed-off-by: Casey Dahlin --- src/compositor.c | 35 --- 1 files changed, 16 insertions(+), 19 deletions(-) diff --git a/src/compositor.c b/src/compositor.c index 17daac4.

[PATCH] Add support for surface enter/leave events

2012-04-17 Thread cdahlin
From: Casey Dahlin Signed-off-by: Casey Dahlin --- src/compositor.c | 103 ++--- src/compositor.h | 13 +-- src/shell.c | 52 +++ 3 files changed, 135 insertions(+), 33 deletions(-) diff --git a/src/composito

[PATCH] Add wl_surface.enter and wl_surface.leave events

2012-04-17 Thread cdahlin
From: Casey Dahlin These events let us track when a surface enters or leaves the scanout region of an output. This way if a surface moves to another output and that output is on a different card, we can suggest the toolkit reallocate its buffers appropriately. Signed-off-by: Casey Dahlin --- p

[PATCH v2] Remove info about nouveau kernel build

2012-03-22 Thread cdahlin
From: Casey Dahlin The page flip code for nouveau has been upstream for almost a year now, but the build instructions still stated you needed a kernel from nouveau git. This has been corrected. Signed-off-by: Casey Dahlin --- Last version removed still-valid info about firmware building.html

[PATCH] wayland-web: Remove info about nouveau kernel build

2012-03-22 Thread cdahlin
From: Casey Dahlin The page flip code for nouveau has been upstream for almost a year now, but the build instructions still stated you needed a kernel from nouveau git. This has been corrected. Signed-off-by: Casey Dahlin --- building.html | 32 ++-- 1 files chang

[PATCH] Fix an unclosed parenthesis

2011-02-02 Thread cdahlin
From: Casey Dahlin --- Please disregard the last version. It made the correction in the wrong place somehow. building.html |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/building.html b/building.html index ce70e2f..527782a 100644 --- a/building.html +++ b/building.h

[PATCH][WEB] Fix an unclosed parenthesis

2011-02-02 Thread cdahlin
From: Casey Dahlin --- building.html |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/building.html b/building.html index ce70e2f..428b1cd 100644 --- a/building.html +++ b/building.html @@ -12,7 +12,7 @@ The instructions below assume some familiarity with git and bui

[PATCH v2][WEB] Build Instructions: Move information about environment to beginning

2011-02-02 Thread cdahlin
From: Casey Dahlin The build instructions don't mention that setting various environment variables is necessary for Wayland and its dependencies to link properly until the very end of the document, after all of the actual instructions. This is a bit confusing to anyone who doesn't build into stra

[PATCH][WEB] Build Instructions: Move information about environment to beginning

2011-01-27 Thread cdahlin
From: Casey Dahlin The build instructions don't mention that setting various environment variables is necessary for Wayland and its dependencies to link properly until the very end of the document, after all of the actual instructions. This is a bit confusing to anyone who doesn't build into stra