summaryrefslogtreecommitdiff
path: root/gst-libs
diff options
context:
space:
mode:
authorMatthew Waters <matthew@centricular.com>2016-02-05 10:43:49 +1100
committerMatthew Waters <matthew@centricular.com>2016-02-05 10:46:21 +1100
commit1b0198631c229f427630fd5dc24f05f3b04378d0 (patch)
treeab4253f84273bd9b1d608d1f041e5e84c14e3b38 /gst-libs
parent8f25333976589b70d3bd3991c2b853dbecec272d (diff)
downloadgstreamer-plugins-bad-1b0198631c229f427630fd5dc24f05f3b04378d0.tar.gz
gl: add .def file for msvc builds
Also internalize some API from being exported.
Diffstat (limited to 'gst-libs')
-rw-r--r--gst-libs/gst/gl/gstgldebug.c5
-rw-r--r--gst-libs/gst/gl/gstglfeature.h4
-rw-r--r--gst-libs/gst/gl/gstglsl_private.h4
-rw-r--r--gst-libs/gst/gl/wayland/wayland_event_source.h2
4 files changed, 8 insertions, 7 deletions
diff --git a/gst-libs/gst/gl/gstgldebug.c b/gst-libs/gst/gl/gstgldebug.c
index e0e8da7e1..2d8bbca6b 100644
--- a/gst-libs/gst/gl/gstgldebug.c
+++ b/gst-libs/gst/gl/gstgldebug.c
@@ -239,8 +239,9 @@ _debug_type_to_string (GLenum type)
}
/* silence the compiler... */
-void GSTGLAPI _gst_gl_debug_callback (GLenum source, GLenum type, GLuint id,
- GLenum severity, GLsizei length, const gchar * message, gpointer user_data);
+G_GNUC_INTERNAL void GSTGLAPI _gst_gl_debug_callback (GLenum source,
+ GLenum type, GLuint id, GLenum severity, GLsizei length,
+ const gchar * message, gpointer user_data);
void GSTGLAPI
_gst_gl_debug_callback (GLenum source, GLenum type, GLuint id, GLenum severity,
diff --git a/gst-libs/gst/gl/gstglfeature.h b/gst-libs/gst/gl/gstglfeature.h
index 0bbcda6c4..fdc3137ab 100644
--- a/gst-libs/gst/gl/gstglfeature.h
+++ b/gst-libs/gst/gl/gstglfeature.h
@@ -97,7 +97,7 @@ struct _GstGLFeatureData
gboolean
gst_gl_check_extension (const char *name, const gchar * ext);
-gboolean
+G_GNUC_INTERNAL gboolean
_gst_gl_feature_check (GstGLContext *context,
const char *driver_prefix,
const GstGLFeatureData *data,
@@ -105,7 +105,7 @@ _gst_gl_feature_check (GstGLContext *context,
int gl_minor,
const char *extensions_string);
-void
+G_GNUC_INTERNAL void
_gst_gl_feature_check_ext_functions (GstGLContext *context,
int gl_major,
int gl_minor,
diff --git a/gst-libs/gst/gl/gstglsl_private.h b/gst-libs/gst/gl/gstglsl_private.h
index c23ff911b..c1be677ae 100644
--- a/gst-libs/gst/gl/gstglsl_private.h
+++ b/gst-libs/gst/gl/gstglsl_private.h
@@ -55,8 +55,8 @@ typedef struct _GstGLSLFuncs
GLsizei * length, char *log);
} GstGLSLFuncs;
-gboolean _gst_glsl_funcs_fill (GstGLSLFuncs * vtable, GstGLContext * context);
-const gchar * _gst_glsl_shader_string_find_version (const gchar * str);
+G_GNUC_INTERNAL gboolean _gst_glsl_funcs_fill (GstGLSLFuncs * vtable, GstGLContext * context);
+G_GNUC_INTERNAL const gchar * _gst_glsl_shader_string_find_version (const gchar * str);
G_END_DECLS
diff --git a/gst-libs/gst/gl/wayland/wayland_event_source.h b/gst-libs/gst/gl/wayland/wayland_event_source.h
index 940a5e016..fa20892be 100644
--- a/gst-libs/gst/gl/wayland/wayland_event_source.h
+++ b/gst-libs/gst/gl/wayland/wayland_event_source.h
@@ -36,7 +36,7 @@
GSource * wayland_event_source_new (struct wl_display *display,
struct wl_event_queue *queue);
-gint gst_gl_wl_display_roundtrip_queue (struct wl_display *display,
+G_GNUC_INTERNAL gint gst_gl_wl_display_roundtrip_queue (struct wl_display *display,
struct wl_event_queue *queue);
#endif /* __WAYLAND_EVENT_SOURCE_H__ */