mirror of
https://github.com/brl/mutter.git
synced 2025-02-16 21:34:09 +00:00
[cogl/gles] Fix missing symbols in CoglContext
Keep the CoglContext in sync between GL and GLES backends. We ought to find a way to have a generic context, though, and have backend specific sections. Fixes bug: http://bugzilla.openedhand.com/show_bug.cgi?id=1698
This commit is contained in:
parent
b00fb8598a
commit
c570014360
@ -48,15 +48,15 @@ typedef struct
|
|||||||
{
|
{
|
||||||
/* Features cache */
|
/* Features cache */
|
||||||
CoglFeatureFlags feature_flags;
|
CoglFeatureFlags feature_flags;
|
||||||
gboolean features_cached;
|
|
||||||
|
|
||||||
/* Enable cache */
|
/* Enable cache */
|
||||||
gulong enable_flags;
|
gulong enable_flags;
|
||||||
guint8 color_alpha;
|
guint8 color_alpha;
|
||||||
|
|
||||||
gboolean enable_backface_culling;
|
guint features_cached : 1;
|
||||||
|
guint enable_backface_culling : 1;
|
||||||
gboolean indirect;
|
guint indirect : 1;
|
||||||
|
guint in_begin_gl_block : 1;
|
||||||
|
|
||||||
/* Client-side matrix stack or NULL if none */
|
/* Client-side matrix stack or NULL if none */
|
||||||
CoglMatrixMode matrix_mode;
|
CoglMatrixMode matrix_mode;
|
||||||
@ -109,6 +109,9 @@ typedef struct
|
|||||||
guint quad_indices_short_len;
|
guint quad_indices_short_len;
|
||||||
CoglHandle quad_indices_short;
|
CoglHandle quad_indices_short;
|
||||||
|
|
||||||
|
gfloat viewport_width;
|
||||||
|
gfloat viewport_height;
|
||||||
|
|
||||||
#ifdef HAVE_COGL_GLES2
|
#ifdef HAVE_COGL_GLES2
|
||||||
CoglGles2Wrapper gles2;
|
CoglGles2Wrapper gles2;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user