summaryrefslogtreecommitdiff
path: root/src/cairo-gl-private.h
diff options
context:
space:
mode:
authorAlexandros Frantzis <alexandros.frantzis@linaro.org>2012-05-03 13:41:29 +0300
committerChris Wilson <chris@chris-wilson.co.uk>2012-05-12 11:09:26 +0100
commit6867383017fcea0b1d5a4671b32382037ba9be3f (patch)
tree904842cc2b7d994cfd480719e553b88eab3aa81c /src/cairo-gl-private.h
parent82f69d1ef798c2ebff13ec2b548c4877bf5e0e5b (diff)
gl: Provide a shader implementation of repeat wrap modes
In OpenGL ES 2.0, repeat wrap modes (GL_REPEAT and GL_MIRRORED REPEAT) are only available for NPOT textures if the GL_OES_texture_npot is supported. This commit adds a shader implementation of these wrap modes for use by devices that do not support GL_OES_texture_npot.
Diffstat (limited to 'src/cairo-gl-private.h')
-rw-r--r--src/cairo-gl-private.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cairo-gl-private.h b/src/cairo-gl-private.h
index a8e89ccd8..103eade56 100644
--- a/src/cairo-gl-private.h
+++ b/src/cairo-gl-private.h
@@ -319,6 +319,7 @@ struct _cairo_gl_context {
cairo_gl_flavor_t gl_flavor;
cairo_bool_t has_map_buffer;
cairo_bool_t has_packed_depth_stencil;
+ cairo_bool_t has_npot_repeat;
void (*acquire) (void *ctx);
void (*release) (void *ctx);