[cogl/lionel/introspection-next: 33/45] gles2-context: add introspection support



commit 00913842de21742c6a94b2a74dac121a317989cc
Author: Lionel Landwerlin <llandwerlin gmail com>
Date:   Thu Sep 5 16:02:01 2013 +0100

    gles2-context: add introspection support

 cogl/cogl-gles2-context.c |    2 ++
 cogl/cogl-gles2.h         |    2 ++
 2 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/cogl/cogl-gles2-context.c b/cogl/cogl-gles2-context.c
index 43fa12d..9dd48d0 100644
--- a/cogl/cogl-gles2-context.c
+++ b/cogl/cogl-gles2-context.c
@@ -47,10 +47,12 @@
 #include "cogl-texture-2d-private.h"
 #include "cogl-pipeline-opengl-private.h"
 #include "cogl-error-private.h"
+#include "cogl-gtype-private.h"
 
 static void _cogl_gles2_context_free (CoglGLES2Context *gles2_context);
 
 COGL_OBJECT_DEFINE (GLES2Context, gles2_context);
+COGL_GTYPE_DEFINE_CLASS (GLES2Context, gles2_context);
 
 static CoglGLES2Context *current_gles2_context;
 
diff --git a/cogl/cogl-gles2.h b/cogl/cogl-gles2.h
index c654a5c..13c8d6e 100644
--- a/cogl/cogl-gles2.h
+++ b/cogl/cogl-gles2.h
@@ -125,6 +125,8 @@ struct _CoglGLES2Vtable
 #undef COGL_EXT_END
 };
 
+COGL_GTYPE_DECLARE_TYPE (gles2_context);
+
 uint32_t
 _cogl_gles2_context_error_quark (void);
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]