glamor: Switch the gl_flavor to a boolean is_gles

Graphics / X.Org / X.Org Server - Eric Anholt [anholt.net] - 17 April 2019 19:34 EDT

There are only 2 flavors we are distinguishing -- GL versions are handled separately.

1b2e224d7 glamor: Switch the gl_flavor to a boolean is_gles.
glamor/glamor.c | 20 +++++++++-----------
glamor/glamor_picture.c | 22 +++++++++++-----------
glamor/glamor_pixmap.c | 2 +-
glamor/glamor_priv.h | 7 +------
glamor/glamor_program.c | 2 +-
glamor/glamor_render.c | 2 +-
glamor/glamor_utils.h | 6 +++---
7 files changed, 27 insertions(+), 34 deletions(-)

Upstream: cgit.freedesktop.org


  • Share