[cogl/lionel/introspection-next: 33/44] gles2-context: add introspection support
- From: Lionel Landwerlin <llandwerlin src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [cogl/lionel/introspection-next: 33/44] gles2-context: add introspection support
- Date: Sun, 9 Feb 2014 21:18:39 +0000 (UTC)
commit 2ed1dbfcfc23ec887087d6866d6b1eb79fc4deb8
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 02801c3..188b986 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 d3f628c..5d123d1 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]