[PATCH web] efl: swap ECORE_EVAS_ENGINE labels to match definitions.

2014-09-15 Thread Gwenole Beauchesne
Swap wayland_{shm,egl} labels in the "Running EFL applications under Wayland" section to match the order of their subsequent definitions. Signed-off-by: Gwenole Beauchesne --- efl.html |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/efl.html b/efl.html ind

[PATCH web] efl: fix logical order for ECORE_EVAS_ENGINE definitions.

2014-09-15 Thread Gwenole Beauchesne
Use a more logical definition order for ECORE_EVAS_ENGINE whereby if wayland_egl comes first and wayland_shm next, then explain the former first and next the latter. Signed-off-by: Gwenole Beauchesne --- efl.html |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a

Re: [PATCH] gl-renderer: Add flexible shader generation.

2014-09-10 Thread Gwenole Beauchesne
Hi, 2014-04-08 22:18 GMT+02:00 John Kåre Alsaker : > I need to add lots of shader variants to do color conversions. This is a very valid reason. The original code for YUV to RGB conversion implemented a BT.601 limited color range conversion. It is desired to handle more combinations of (BT.601, B

Re: Helping in reviewing

2013-03-27 Thread Gwenole Beauchesne
Hi, 2013/3/27 Pekka Paalanen : > On Tue, 26 Mar 2013 14:09:48 -0700 > Thiago Macieira wrote: > >> So whenever you see a change that you think you can provide input on, do so. >> If you don't feel like saying it's completely fine, say so too. The initial >> review you provide on simpler things (co

[PATCH 4/4] compositor: handle YUV buffers.

2012-05-18 Thread Gwenole Beauchesne
Signed-off-by: Gwenole Beauchesne --- src/compositor-wayland.c |2 +- src/compositor.c | 78 - src/compositor.h |2 +- 3 files changed, 64 insertions(+), 18 deletions(-) diff --git a/src/compositor-wayland.c b/src/compositor

[PATCH 3/4] compositor: add YUV shaders.

2012-05-18 Thread Gwenole Beauchesne
Add shaders for NV12 (2 planes) and YUV (3 planes). Signed-off-by: Gwenole Beauchesne --- src/compositor.c | 43 +++ src/compositor.h |2 ++ 2 files changed, 45 insertions(+), 0 deletions(-) diff --git a/src/compositor.c b/src/compositor.c index

[PATCH 2/4] compositor: factor out RGB shader.

2012-05-18 Thread Gwenole Beauchesne
Simplify RGB shader code and split off common code that could be reused. This is preparatory work for YUV shaders. Signed-off-by: Gwenole Beauchesne --- src/compositor-wayland.c |2 +- src/compositor.c | 54 - src/compositor.h

[PATCH 1/4] compositor: prepare for multi-planar surfaces.

2012-05-18 Thread Gwenole Beauchesne
Make weston_surface::texture and ::surface an array, while keeping [0] for RGB surfaces. Signed-off-by: Gwenole Beauchesne --- src/compositor-drm.c |8 ++-- src/compositor.c | 87 +++--- src/compositor.h |6 ++- 3 files changed, 69

[PATCH 3/3] shm: fill in base buffer layout.

2012-05-18 Thread Gwenole Beauchesne
Signed-off-by: Gwenole Beauchesne --- src/wayland-shm.c |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/src/wayland-shm.c b/src/wayland-shm.c index 7900ba1..020d09b 100644 --- a/src/wayland-shm.c +++ b/src/wayland-shm.c @@ -88,10 +88,14 @@ shm_pool_create_buffer

[PATCH 2/3] buffer: add layout information.

2012-05-18 Thread Gwenole Beauchesne
Define useful information to pixel buffers so that to determine their format and how they are organized: line stride in bytes for each plane, and offset from base buffer to the corresponding plane. Signed-off-by: Gwenole Beauchesne --- src/wayland-util.c | 67

[PATCH 1/3] buffer: add generic buffer formats.

2012-05-18 Thread Gwenole Beauchesne
Add packed RGB (ARGB32, XRGB32), and planar YUV formats with interleaved U/V components (NV12), or three Y U V planes with various subsampling (YUV 4:1:0, 4:1:1, 4:2:0, 4:2:2, 4:4:4). Signed-off-by: Gwenole Beauchesne --- protocol/wayland.xml | 24 src/wayland

Re: [PATCH] compositor: allow query of surface formats.

2012-05-02 Thread Gwenole Beauchesne
Hi, 2012/5/2 Pekka Paalanen : > On Fri, 27 Apr 2012 17:52:11 +0200 >> Add new query to collect surface formats supported for rendering through >> surface_format events. This allows for checking whether the compositor >> supports rendering YUV buffers for example. >> >> Note: this depends on the ge

[PATCH] compositor: allow query of surface formats.

2012-04-27 Thread Gwenole Beauchesne
Hi, Add new query to collect surface formats supported for rendering through surface_format events. This allows for checking whether the compositor supports rendering YUV buffers for example. Note: this depends on the generic wl_buffer formats patch series. Is there a way to let the server fill i

Re: [PATCH 0/4] Weston: add support for YUV buffers

2012-04-27 Thread Gwenole Beauchesne
2012/4/20 Gwenole Beauchesne : > Here is a first round of patches for supporting YUV buffers in Weston. > It theoritically possible to support planar YUV from SHM buffers but I > have only tested with VA-API on GenX (NV12, YUV 4:2:0 and 4:2:2). Ping Kristian? I pushed the Mesa patche

Re: [PATCH 0/4] Weston: add support for YUV buffers

2012-04-20 Thread Gwenole Beauchesne
Hi, 2012/4/20 Gwenole Beauchesne : > Issues: > - EXT_texture_rg requirement, could be fixed with an extra EGL attribute. > - Use shaders to render from YUV even if some HW could sample from YUV > textures directly. Actually, I now think both cases could be handled with the sa

[PATCH 4/4] compositor: handle YUV buffers.

2012-04-20 Thread Gwenole Beauchesne
Signed-off-by: Gwenole Beauchesne --- src/compositor-wayland.c |2 +- src/compositor.c | 80 - src/compositor.h |2 +- 3 files changed, 66 insertions(+), 18 deletions(-) diff --git a/src/compositor-wayland.c b/src/compositor

[PATCH 3/4] compositor: add YUV shaders.

2012-04-20 Thread Gwenole Beauchesne
Add shaders for NV12 (2 planes) and YUV (3 planes). Signed-off-by: Gwenole Beauchesne --- src/compositor.c | 43 +++ src/compositor.h |2 ++ 2 files changed, 45 insertions(+), 0 deletions(-) diff --git a/src/compositor.c b/src/compositor.c index

[PATCH 2/4] compositor: factor out RGB shader.

2012-04-20 Thread Gwenole Beauchesne
Simplify RGB shader code and split off common code that could be reused. This is preparatory work for YUV shaders. Signed-off-by: Gwenole Beauchesne --- src/compositor-wayland.c |2 +- src/compositor.c | 46 +- src/compositor.h

[PATCH 1/4] compositor: prepare for multi-planar surfaces.

2012-04-20 Thread Gwenole Beauchesne
Make weston_surface::texture and ::surface an array, while keeping [0] for RGB surfaces. Signed-off-by: Gwenole Beauchesne --- src/compositor-drm.c | 14 --- src/compositor.c | 87 +++--- src/compositor.h |6 ++- 3 files changed

[PATCH 0/4] Weston: add support for YUV buffers

2012-04-20 Thread Gwenole Beauchesne
texture_rg requirement, could be fixed with an extra EGL attribute. - Use shaders to render from YUV even if some HW could sample from YUV textures directly. Regards, Gwenole Beauchesne (4): compositor: prepare for multi-planar surfaces. compositor: factor out RGB shader. compositor: add Y

[PATCH 5/5] buffer: add helper accessors.

2012-04-20 Thread Gwenole Beauchesne
Signed-off-by: Gwenole Beauchesne --- src/wayland-server.c | 55 ++ src/wayland-server.h |6 + 2 files changed, 61 insertions(+), 0 deletions(-) diff --git a/src/wayland-server.c b/src/wayland-server.c index 8ca27bd..d672f83 100644 --- a

[PATCH 4/5] shm: fill in base buffer layout.

2012-04-20 Thread Gwenole Beauchesne
Signed-off-by: Gwenole Beauchesne --- src/wayland-shm.c | 13 + 1 files changed, 13 insertions(+), 0 deletions(-) diff --git a/src/wayland-shm.c b/src/wayland-shm.c index 7900ba1..bda1628 100644 --- a/src/wayland-shm.c +++ b/src/wayland-shm.c @@ -88,10 +88,15

[PATCH 3/5] buffer: bump version.

2012-04-20 Thread Gwenole Beauchesne
Signed-off-by: Gwenole Beauchesne --- protocol/wayland.xml |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/protocol/wayland.xml b/protocol/wayland.xml index ba7fecc..556ae5b 100644 --- a/protocol/wayland.xml +++ b/protocol/wayland.xml @@ -209,7 +209,7

[PATCH 2/5] buffer: add layout information.

2012-04-20 Thread Gwenole Beauchesne
Attach useful information to the buffer so that to determine its pixel format and how it is organized: line stride in bytes for each plane, and offset from base buffer to the corresponding plane. Signed-off-by: Gwenole Beauchesne --- src/wayland-server.h |1 + src/wayland-util.c | 67

[PATCH 1/5] buffer: add generic buffer formats.

2012-04-20 Thread Gwenole Beauchesne
Add packed RGB (ARGB32, XRGB32), and planar YUV formats with interleaved U/V components (NV12), or three Y U V planes with various subsampling (YUV 4:1:0, 4:1:1, 4:2:0, 4:2:2, 4:4:4). Signed-off-by: Gwenole Beauchesne --- protocol/wayland.xml | 24 1 files changed, 24

[PATCH 0/5] Add generic buffer formats

2012-04-20 Thread Gwenole Beauchesne
t, Patch 3 bumps the version of its interface. Patch 4 fills in layout information for SHM buffers. Patch 5 adds some helpers to extract a sensible layout even if the buffer was implemented for a former interface. Regards, Gwenole Beauchesne (5): buffer: add generic buffer formats. buffer: