gl: add .def file for msvc builds
authorMatthew Waters <matthew@centricular.com>
Thu, 4 Feb 2016 23:43:49 +0000 (10:43 +1100)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 9 Dec 2017 19:32:16 +0000 (19:32 +0000)
Also internalize some API from being exported.

gst-libs/gst/gl/gstgldebug.c
gst-libs/gst/gl/gstglfeature.h
gst-libs/gst/gl/gstglsl_private.h
gst-libs/gst/gl/wayland/wayland_event_source.h

index e0e8da7e1501d45208a5530ab0b73296cceeaceb..2d8bbca6b2c3140ea16dbdc9c0691f23aad0ae01 100644 (file)
@@ -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,
index 0bbcda6c43613554a991873d539b9c1ffa5edb4e..fdc3137abee24bcbe62149e699c550bae5032fda 100644 (file)
@@ -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,
index c23ff911bbce00a9a87dedafaca290c6046335a1..c1be677ae4348615f05092edb174d809b36ef4d3 100644 (file)
@@ -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
 
index 940a5e0168fb740c124335ad4e8e29e3671ad903..fa20892bee3d971ab76b845cb95a07a5483e342d 100644 (file)
@@ -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__ */