[cogl/wip/virtual-framebuffer: 24/37] fix: virtual framebuffer
- From: Robert Bragg <rbragg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [cogl/wip/virtual-framebuffer: 24/37] fix: virtual framebuffer
- Date: Wed, 23 Nov 2011 17:00:45 +0000 (UTC)
commit 12c9a629941239172a841276e823f0be233bbb81
Author: Robert Bragg <robert linux intel com>
Date: Tue Nov 22 21:11:47 2011 +0000
fix: virtual framebuffer
cogl/cogl-framebuffer.c | 1 +
cogl/cogl-virtual-framebuffer.h | 17 +++++++++++++++++
2 files changed, 18 insertions(+), 0 deletions(-)
---
diff --git a/cogl/cogl-framebuffer.c b/cogl/cogl-framebuffer.c
index b204c5f..2ff6a2c 100644
--- a/cogl/cogl-framebuffer.c
+++ b/cogl/cogl-framebuffer.c
@@ -36,6 +36,7 @@
#include "cogl-texture-private.h"
#include "cogl-framebuffer-private.h"
#include "cogl-virtual-framebuffer-private.h"
+#include "cogl-virtual-framebuffer.h"
#include "cogl-onscreen-template-private.h"
#include "cogl-clip-stack.h"
#include "cogl-journal-private.h"
diff --git a/cogl/cogl-virtual-framebuffer.h b/cogl/cogl-virtual-framebuffer.h
index c34a4d4..69aa77e 100644
--- a/cogl/cogl-virtual-framebuffer.h
+++ b/cogl/cogl-virtual-framebuffer.h
@@ -40,6 +40,23 @@ G_BEGIN_DECLS
typedef struct _CoglVirtualFramebuffer CoglVirtualFramebuffer;
#define COGL_VIRTUAL_FRAMEBUFFER(X) ((CoglVirtualFramebuffer *)(X))
+#define cogl_is_virtual_framebuffer cogl_is_virtual_framebuffer_EXP
+/**
+ * cogl_is_virtual_framebuffer:
+ * @object: A pointer to a #CoglObject
+ *
+ * Gets whether the given object implements the virtual framebuffer
+ * interface.
+ *
+ * Return value: %TRUE if object implements the
+ * #CoglVirtualFramebuffer interface %FALSE otherwise.
+ *
+ * Since: 1.10
+ * Stability: Unstable
+ */
+gboolean
+cogl_is_virtual_framebuffer (void *object);
+
CoglVirtualFramebuffer *
cogl_virtual_framebuffer_new (CoglContext *context,
int width,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]