diff options
Diffstat (limited to 'src/cairo-gl-private.h')
-rw-r--r-- | src/cairo-gl-private.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/cairo-gl-private.h b/src/cairo-gl-private.h index 8379abc95..79b67a5d2 100644 --- a/src/cairo-gl-private.h +++ b/src/cairo-gl-private.h @@ -93,8 +93,9 @@ /* VBO size that we allocate, smaller size means we gotta flush more often, * but larger means hogging more memory and can cause trouble for drivers - * (especially on embedded devices). */ -#define CAIRO_GL_VBO_SIZE (16*1024) + * (especially on embedded devices). Use the CAIRO_GL_VBO_SIZE environment + * variable to set this to a different size. */ +#define CAIRO_GL_VBO_SIZE_DEFAULT (16*1024) typedef struct _cairo_gl_surface cairo_gl_surface_t; @@ -702,6 +703,9 @@ _cairo_gl_get_version (void); cairo_private cairo_gl_flavor_t _cairo_gl_get_flavor (void); +cairo_private long +_cairo_gl_get_vbo_size (void); + cairo_private cairo_bool_t _cairo_gl_has_extension (const char *ext); |