[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

Color management in Wayland

2011-10-08 Thread Zoxc
floating point per channel buffers with premultiplied alpha. Using premultiplied alpha and linear space also prevent artifacts with texture filtering. - Zoxc ___ wayland-devel mailing list wayland-devel@lists.freedesktop.org http://lists.freedesktop.org