[cogl/lionel/introspection-next: 32/42] gles2-context: add introspection support
- From: Lionel Landwerlin <llandwerlin src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [cogl/lionel/introspection-next: 32/42] gles2-context: add introspection support
- Date: Tue, 10 Dec 2013 21:52:58 +0000 (UTC)
commit def2ac8835186f20d6dd5c8cd99cd49b26ac5aff
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 265db46..db4c798 100644
--- a/cogl/cogl-gles2.h
+++ b/cogl/cogl-gles2.h
@@ -141,6 +141,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]