gl: add .def file for msvc builds

Also internalize some API from being exported.
This commit is contained in:
Matthew Waters 2016-02-05 10:43:49 +11:00 committed by Tim-Philipp Müller
parent 265005a5e1
commit f4bab389c5
4 changed files with 8 additions and 7 deletions

View File

@ -239,8 +239,9 @@ _debug_type_to_string (GLenum type)
} }
/* silence the compiler... */ /* silence the compiler... */
void GSTGLAPI _gst_gl_debug_callback (GLenum source, GLenum type, GLuint id, G_GNUC_INTERNAL void GSTGLAPI _gst_gl_debug_callback (GLenum source,
GLenum severity, GLsizei length, const gchar * message, gpointer user_data); GLenum type, GLuint id, GLenum severity, GLsizei length,
const gchar * message, gpointer user_data);
void GSTGLAPI void GSTGLAPI
_gst_gl_debug_callback (GLenum source, GLenum type, GLuint id, GLenum severity, _gst_gl_debug_callback (GLenum source, GLenum type, GLuint id, GLenum severity,

View File

@ -97,7 +97,7 @@ struct _GstGLFeatureData
gboolean gboolean
gst_gl_check_extension (const char *name, const gchar * ext); gst_gl_check_extension (const char *name, const gchar * ext);
gboolean G_GNUC_INTERNAL gboolean
_gst_gl_feature_check (GstGLContext *context, _gst_gl_feature_check (GstGLContext *context,
const char *driver_prefix, const char *driver_prefix,
const GstGLFeatureData *data, const GstGLFeatureData *data,
@ -105,7 +105,7 @@ _gst_gl_feature_check (GstGLContext *context,
int gl_minor, int gl_minor,
const char *extensions_string); const char *extensions_string);
void G_GNUC_INTERNAL void
_gst_gl_feature_check_ext_functions (GstGLContext *context, _gst_gl_feature_check_ext_functions (GstGLContext *context,
int gl_major, int gl_major,
int gl_minor, int gl_minor,

View File

@ -55,8 +55,8 @@ typedef struct _GstGLSLFuncs
GLsizei * length, char *log); GLsizei * length, char *log);
} GstGLSLFuncs; } GstGLSLFuncs;
gboolean _gst_glsl_funcs_fill (GstGLSLFuncs * vtable, GstGLContext * context); G_GNUC_INTERNAL gboolean _gst_glsl_funcs_fill (GstGLSLFuncs * vtable, GstGLContext * context);
const gchar * _gst_glsl_shader_string_find_version (const gchar * str); G_GNUC_INTERNAL const gchar * _gst_glsl_shader_string_find_version (const gchar * str);
G_END_DECLS G_END_DECLS

View File

@ -36,7 +36,7 @@
GSource * wayland_event_source_new (struct wl_display *display, GSource * wayland_event_source_new (struct wl_display *display,
struct wl_event_queue *queue); 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); struct wl_event_queue *queue);
#endif /* __WAYLAND_EVENT_SOURCE_H__ */ #endif /* __WAYLAND_EVENT_SOURCE_H__ */