[RFCv2 0/9] Adding gamma correct compositing

John Kåre Alsaker john.kare.alsaker at gmail.com
Fri Nov 16 18:23:51 PST 2012


Previous RFC:
http://lists.freedesktop.org/archives/wayland-devel/2012-November/006244.html

This is the set of patches which adds more flexible shader generation, adds support for desktop OpenGL and finally adds gamma correct compositing which depends on the former two.

The most problematic commit is probably the desktop OpenGL one. It links to prototypes directly and includes GLES2 headers. I'd rather use GLES3 which doesn't have such problems, but it's not supported for Mesa yet and it will probably take quite a while until it's supported on most Mesa drivers.

*** BLURB HERE ***

John Kåre Alsaker (9):
  gl-renderer: Move shader functions into it's own file.
  gl-renderer: Add flexible shader generation.
  gl-renderer: Add optional support for desktop OpenGL.
  gl-renderer: Tweak YUV shader.
  gl-renderer: Adds the ability to draw damage to a texture and in turn
    to the framebuffer.
  gl-renderer: Add support for blending in linear space.
  gl-renderer: Don't multiply with alpha uniform when it's 1.0.
  gl-renderer: Remove unneeded glActiveTexture call.
  gl-renderer: Clean up EGL image and GL texture destruction.

 configure.ac         |  13 +-
 src/Makefile.am      |   6 +-
 src/compositor-rpi.c |   2 +-
 src/compositor.c     |   7 +-
 src/compositor.h     |   3 +
 src/gl-internal.h    | 189 +++++++++++++
 src/gl-renderer.c    | 731 ++++++++++++++++++++------------------------------
 src/gl-renderer.h    |  19 ++
 src/gl-shaders.c     | 745 +++++++++++++++++++++++++++++++++++++++++++++++++++
 9 files changed, 1276 insertions(+), 439 deletions(-)
 create mode 100644 src/gl-internal.h
 create mode 100644 src/gl-shaders.c

-- 
1.8.0



More information about the wayland-devel mailing list