Re: Weston framerate (Re: bare bones opengl weston client sample)

2012-09-07 Thread jegde jedge
Sorry for the delay, my mail tool didn't link up this thread fro me. I am running w/ DRM not X11; running weston in an X client was not adequate for my test app. I start by obtaining a virtual terminal ;init 3 ; then weston-launch This way I eliminate any X11 variables. You can see egl loading the

[PATCH weston 2/2] compositor: Added the ability to draw damage to a texture and in turn to the framebuffer. Also added a shader which inverts colors.

2012-09-07 Thread Zoxc
--- src/compositor.c | 165 +-- src/compositor.h | 8 +++ src/shell.c | 11 3 files changed, 167 insertions(+), 17 deletions(-) diff --git a/src/compositor.c b/src/compositor.c index 7013b4a..e625171 100644 --- a/src/compositor.c ++

[PATCH weston 1/2] compositor: Adds functions for backends to call around weston_surface_draw.

2012-09-07 Thread Zoxc
--- src/compositor-android.c | 4 src/compositor-drm.c | 4 src/compositor-wayland.c | 4 src/compositor-x11.c | 4 src/compositor.c | 10 ++ src/compositor.h | 4 6 files changed, 30 insertions(+) diff --git a/src/compositor-android.c

Re: [PATCH 1/3] simple-egl: Set the opaque region if windowed and -o is passed

2012-09-07 Thread Scott Moreau
On Fri, Sep 7, 2012 at 7:32 AM, Ander Conselvan de Oliveira < conselv...@gmail.com> wrote: > Since commit d523a87d2d8c0099d8ac323375b3d083aafccf9a [1], I'm not sure where you got this sha from but it's wrong. There is no such commit in weston. > window.opaque > would be 1 only in fullscreen mo

[PATCH 3/3] compositor-drm: Allow scanning out of opaque ARGB surfaces

2012-09-07 Thread Ander Conselvan de Oliveira
--- src/compositor-drm.c | 33 + 1 file changed, 29 insertions(+), 4 deletions(-) diff --git a/src/compositor-drm.c b/src/compositor-drm.c index c6634a0..c6d4658 100644 --- a/src/compositor-drm.c +++ b/src/compositor-drm.c @@ -276,6 +276,34 @@ fb_handle_buffer_de

[PATCH 2/3] simple-egl: Set the right size for the opaque region when fullscreen

2012-09-07 Thread Ander Conselvan de Oliveira
window.window_size holds the size of the window in windowed mode. Use window.geometry for setting the opaque region since that holds the current size. --- clients/simple-egl.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clients/simple-egl.c b/clients/simple-egl.c ind

[PATCH 1/3] simple-egl: Set the opaque region if windowed and -o is passed

2012-09-07 Thread Ander Conselvan de Oliveira
Since commit d523a87d2d8c0099d8ac323375b3d083aafccf9a [1], window.opaque would be 1 only in fullscreen mode, causing the opaque region to be set only when running in fullscreen mode. Having it set properly for the windowed case is helpful to test the overlay path in compositor-drm. This reverts th

[call for testing v2] clients: add cliptest program

2012-09-07 Thread Pekka Paalanen
Cliptest is for controlled testing of the calculate_edges() function in compositor.c. The function is copied verbatim into cliptest.c. v2: - show vertex coordinates - rewrite intersection computing; improved precision - remove duplicate vertices - fix non-transformed adjacent but not overlapping c