summaryrefslogtreecommitdiff
path: root/cogl/cogl/cogl-offscreen.h
diff options
context:
space:
mode:
Diffstat (limited to 'cogl/cogl/cogl-offscreen.h')
-rw-r--r--cogl/cogl/cogl-offscreen.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/cogl/cogl/cogl-offscreen.h b/cogl/cogl/cogl-offscreen.h
index ba372c24b..07289db54 100644
--- a/cogl/cogl/cogl-offscreen.h
+++ b/cogl/cogl/cogl-offscreen.h
@@ -59,6 +59,7 @@ typedef struct _CoglOffscreen CoglOffscreen;
*
* Returns: a #GType that can be used with the GLib type system.
*/
+COGL_EXPORT
GType cogl_offscreen_get_gtype (void);
/* Offscreen api */
@@ -95,7 +96,7 @@ GType cogl_offscreen_get_gtype (void);
* Return value: (transfer full): a newly instantiated #CoglOffscreen
* framebuffer.
*/
-CoglOffscreen *
+COGL_EXPORT CoglOffscreen *
cogl_offscreen_new_with_texture (CoglTexture *texture);
/**
@@ -119,7 +120,7 @@ cogl_offscreen_new_with_texture (CoglTexture *texture);
* Deprecated: 1.16: Use cogl_offscreen_new_with_texture instead.
*/
COGL_DEPRECATED_FOR (cogl_offscreen_new_with_texture)
-CoglOffscreen *
+COGL_EXPORT CoglOffscreen *
cogl_offscreen_new_to_texture (CoglTexture *texture);
/**
@@ -132,13 +133,13 @@ cogl_offscreen_new_to_texture (CoglTexture *texture);
* Returns: %TRUE if @object is a #CoglOffscreen framebuffer,
* %FALSE otherwise
*/
-gboolean
+COGL_EXPORT gboolean
cogl_is_offscreen (void *object);
/**
* cogl_offscreen_get_texture: (skip)
*/
-CoglTexture *
+COGL_EXPORT CoglTexture *
cogl_offscreen_get_texture (CoglOffscreen *offscreen);
G_END_DECLS