[cairo] [PATCH 0/3] [RFC] Enable GLES v3 support

Bryce Harrington bryce at osg.samsung.com
Wed Dec 7 23:46:49 UTC 2016


This is a rebase to trunk of a patchset from Henry Song to add Open GL
ES 3.0 support to Cairo.  Currently Cairo supports only OpenGL ES 2.0,
which was published in 2007, so this moves us 5 years closer to modern
day.

I've done some light testing to make sure it works.  While the GL
backend is still quite experimental and not enabled by default, there
are a few test failures that I want to investigate further before
landing.  However, right now I'm more interested in getting feedback on
the implementation approach.  I know this is a huge patchset, but any
code review assistance would be greatly appreciated.

Bryce Harrington (3):
  gl: Convert images to rgba or a8 formats when uploading with GLESv2
  gl: Make _cairo_gl_ensure_framebuffer a private shared routine
  gl: add support for OpenGL ES 3.0

 boilerplate/Makefile.win32.features |  12 +++++
 boilerplate/cairo-boilerplate-egl.c |   8 ++-
 build/Makefile.win32.features       |   1 +
 build/Makefile.win32.features-h     |   3 ++
 build/configure.ac.features         |   1 +
 cairo-glesv3-uninstall.pc           |   7 +++
 configure.ac                        |  18 +++++++
 src/Makefile.sources                |   4 ++
 src/Makefile.win32.features         |  16 ++++++
 src/cairo-gl-composite.c            | 101 +++++++++++++++++++++++++++++++++++-
 src/cairo-gl-device.c               |  95 ++++++++++++++++++++++++++-------
 src/cairo-gl-dispatch.c             |  12 +++++
 src/cairo-gl-gradient-private.h     |   3 ++
 src/cairo-gl-gradient.c             |   3 +-
 src/cairo-gl-info.c                 |   8 +++
 src/cairo-gl-msaa-compositor.c      |   9 +++-
 src/cairo-gl-operand.c              |   3 +-
 src/cairo-gl-private.h              |  16 +++++-
 src/cairo-gl-shaders.c              |  15 ++++--
 src/cairo-gl-surface.c              |  97 +++++++++++++++++++++++++++++++---
 src/cairo-gl-traps-compositor.c     |  30 -----------
 src/cairo-gl.h                      |   2 +-
 22 files changed, 394 insertions(+), 70 deletions(-)
 create mode 100644 cairo-glesv3-uninstall.pc

-- 
1.9.1



More information about the cairo mailing list