gl: Treat GLES v2 as a separate flavor from GLES v3

Graphics / Cairo - Bryce Harrington [osg.samsung.com] - 28 October 2016 19:56 EDT

To support differentiating between GLES v2 and v3, rename the flavor enum to be version specific, as CAIRO_GL_FLAVOR_ES2.

Then, when GLES v3 support is introduced we can add it as a distinct flavor enum (i.e. CAIRO_GL_FLAVOR_ES3).

eb52320 gl: Treat GLES v2 as a separate flavor from GLES v3
src/cairo-gl-composite.c | 2 +-
src/cairo-gl-device.c | 12 ++++++------
src/cairo-gl-dispatch.c | 8 ++++----
src/cairo-gl-info.c | 4 ++--
src/cairo-gl-msaa-compositor.c | 2 +-
src/cairo-gl-operand.c | 2 +-
src/cairo-gl-private.h | 2 +-
src/cairo-gl-shaders.c | 10 +++++-----
src/cairo-gl-surface.c | 6 +++---
src/cairo-gl-traps-compositor.c | 2 +-
10 files changed, 25 insertions(+), 25 deletions(-)

Upstream: cgit.freedesktop.org


  • Share