summaryrefslogtreecommitdiff
path: root/gst-libs/gst/gl/gstglbuffer.h
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@centricular.com>2016-10-27 08:17:58 +0530
committerTim-Philipp Müller <tim@centricular.com>2017-12-09 19:32:23 +0000
commit6106816f5018e21a661fcea21bdd92e2f0f03fec (patch)
treedf5cebb052603d350d06d51e96662ab22cb75999 /gst-libs/gst/gl/gstglbuffer.h
parentc7c2a68de2ae53ace30a97d45fa7bfb07babeed9 (diff)
gstgl: Add GST_EXPORT to all symbols used on Windows
This is a requirement for those symbols to be exported in gstgl-1.0.dll when building with the MSVC compiler
Diffstat (limited to 'gst-libs/gst/gl/gstglbuffer.h')
-rw-r--r--gst-libs/gst/gl/gstglbuffer.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gst-libs/gst/gl/gstglbuffer.h b/gst-libs/gst/gl/gstglbuffer.h
index e481536e9..c6ef6a5a8 100644
--- a/gst-libs/gst/gl/gstglbuffer.h
+++ b/gst-libs/gst/gl/gstglbuffer.h
@@ -30,6 +30,7 @@
G_BEGIN_DECLS
#define GST_TYPE_GL_BUFFER_ALLOCATOR (gst_gl_buffer_allocator_get_type())
+GST_EXPORT
GType gst_gl_buffer_allocator_get_type(void);
#define GST_IS_GL_BUFFER_ALLOCATOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GST_TYPE_GL_ALLOCATOR))
@@ -79,6 +80,7 @@ struct _GstGLBufferAllocationParams
gpointer _padding[GST_PADDING];
};
+GST_EXPORT
GstGLBufferAllocationParams * gst_gl_buffer_allocation_params_new (GstGLContext * context,
gsize alloc_size,
GstAllocationParams * alloc_params,
@@ -120,9 +122,12 @@ struct _GstGLBufferAllocatorClass
*/
#define GST_GL_BUFFER_ALLOCATOR_NAME "GLBuffer"
+GST_EXPORT
void gst_gl_buffer_init_once (void);
+GST_EXPORT
gboolean gst_is_gl_buffer (GstMemory * mem);
+GST_EXPORT
GstGLBuffer * gst_gl_buffer_alloc (GstGLContext * context,
guint gl_target,
guint gl_usage,