[PATCH 9/9] compositor: Add a function to set surface color in weston_renderer and move color state to gles2-renderer.

2012-09-15 Thread John Kåre Alsaker
--- src/compositor.c | 6 +- src/compositor.h | 4 +++- src/gles2-renderer.c | 19 ++- 3 files changed, 22 insertions(+), 7 deletions(-) diff --git a/src/compositor.c b/src/compositor.c index 45eeb5f..961009a 100644 --- a/src/compositor.c +++ b/src/compositor.c @@ -2

[PATCH 8/9] compositor: Move arrays used by wayland backend rendering into the wayland backend.

2012-09-15 Thread John Kåre Alsaker
--- src/compositor-wayland.c | 21 +++-- src/compositor.c | 1 - src/compositor.h | 1 - 3 files changed, 15 insertions(+), 8 deletions(-) diff --git a/src/compositor-wayland.c b/src/compositor-wayland.c index 71031ff..a12a90a 100644 --- a/src/compositor-wayland.

[PATCH 7/9] compositor: Add a renderer function to read out pixels and remove the GL calls from screenshooter.

2012-09-15 Thread John Kåre Alsaker
--- src/compositor.h | 6 +- src/gles2-renderer.c | 34 -- src/screenshooter.c | 27 +++ 3 files changed, 52 insertions(+), 15 deletions(-) diff --git a/src/compositor.h b/src/compositor.h index dabaf9e..1088f09 100644 --- a/src/co

[PATCH 6/9] gles2-renderer: Adds an utility function which calls eglMakeCurrent.

2012-09-15 Thread John Kåre Alsaker
--- src/gles2-renderer.c | 48 +--- 1 file changed, 29 insertions(+), 19 deletions(-) diff --git a/src/gles2-renderer.c b/src/gles2-renderer.c index 37e9b76..d4a4fc8 100644 --- a/src/gles2-renderer.c +++ b/src/gles2-renderer.c @@ -605,6 +605,29 @@ repai

[PATCH 5/9] compositor: Change API to better handle mode switches. Also moves EGLSurface into gles2-renderer.

2012-09-15 Thread John Kåre Alsaker
--- src/compositor-android.c | 2 +- src/compositor-drm.c | 19 +- src/compositor-wayland.c | 2 +- src/compositor-x11.c | 2 +- src/compositor.h | 13 ++-- src/gles2-renderer.c | 52 +--- 6 files changed, 5

[PATCH 4/9] compositor: Add per output and per surface renderer state.

2012-09-15 Thread John Kåre Alsaker
--- src/compositor.h | 4 src/gles2-renderer.c | 44 2 files changed, 44 insertions(+), 4 deletions(-) diff --git a/src/compositor.h b/src/compositor.h index 9ad1753..3a9f4bc 100644 --- a/src/compositor.h +++ b/src/compositor.h @@ -149,6 +149

[PATCH 3/9] compositor: Add a create_surface callback to weston_renderer.

2012-09-15 Thread John Kåre Alsaker
--- src/compositor.c | 5 + src/compositor.h | 1 + src/gles2-renderer.c | 7 +++ 3 files changed, 13 insertions(+) diff --git a/src/compositor.c b/src/compositor.c index 8c8dff0..2fb89b6 100644 --- a/src/compositor.c +++ b/src/compositor.c @@ -238,6 +238,11 @@ weston_surface_crea

[PATCH 2/9] gles2-renderer: Adds function to select the RGBA shader for the wayland backend.

2012-09-15 Thread John Kåre Alsaker
--- src/compositor-wayland.c | 9 + src/compositor.h | 2 ++ src/gles2-renderer.c | 14 ++ 3 files changed, 17 insertions(+), 8 deletions(-) diff --git a/src/compositor-wayland.c b/src/compositor-wayland.c index fce89a9..9a12b1d 100644 --- a/src/compositor-waylan

[PATCH 1/9] gles2-renderer: Provide an API for backends to use.

2012-09-15 Thread John Kåre Alsaker
--- src/compositor-android.c | 72 -- src/compositor-drm.c | 78 ++-- src/compositor-wayland.c | 58 -- src/compositor-x11.c | 71 +++--- src/compositor.h | 18 +- src/gles2-renderer.c | 151 ++

[PATCH 0/9] Groundwork for moving EGL/GL state into gles2-renderer

2012-09-15 Thread John Kåre Alsaker
This patch series is the groundwork for moving the compositor's EGL and GL state into gles2-renderer.c. The biggest change is the extension of the gles2-renderer API which the backends use. This is API is added for 3 reasons: - To allow the EGL state to be moved to gles2-renderer - To give gl

[PATCH] faq.html: fix typos

2012-09-15 Thread Diego Viola
Signed-off-by: Diego Viola --- faq.html | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/faq.html b/faq.html index bff7fb4..1dbd69a 100644 --- a/faq.html +++ b/faq.html @@ -20,7 +20,7 @@ It's not an X server and not a fork. It's a protocol between a compositor