gl: make some debug categories private

They weren't supposed to be public.

https://bugzilla.gnome.org/show_bug.cgi?id=786170
This commit is contained in:
Tim-Philipp Müller 2017-08-14 09:33:38 +01:00
parent 98b0802a98
commit a971aa4ba4
11 changed files with 13 additions and 5 deletions

View file

@ -69,8 +69,10 @@ libgstgl_@GST_API_VERSION@include_HEADERS = \
gl.h
noinst_HEADERS = \
gstglcontext_private.h \
gstglfeature_private.h \
gstglsl_private.h \
gstglwindow_private.h \
gstglutils_private.h \
utils/opengl_versions.h \
utils/gles_versions.h

View file

@ -32,6 +32,7 @@
#include <gst/gl/egl/gstegl.h>
#include "../utils/opengl_versions.h"
#include "../utils/gles_versions.h"
#include "../gstglcontext_private.h"
#if GST_GL_HAVE_WINDOW_X11
#include "../x11/gstglwindow_x11.h"

View file

@ -46,6 +46,7 @@
#include "gl.h"
#include "gstglcontext.h"
#include "gstglcontext_private.h"
#include "gstglfeature_private.h"
#ifndef GL_NUM_EXTENSIONS

View file

@ -216,8 +216,6 @@ GST_EXPORT
void gst_gl_context_thread_add (GstGLContext * context,
GstGLContextThreadFunc func, gpointer data);
GST_DEBUG_CATEGORY_EXTERN (gst_gl_context_debug);
G_END_DECLS
#endif /* __GST_GL_CONTEXT_H__ */

View file

@ -24,6 +24,7 @@
#include "gl.h"
#include "gstgldebug.h"
#include "gstglcontext_private.h"
#include <glib/gprintf.h>
#include <string.h>

View file

@ -35,8 +35,8 @@
#include "gl.h"
#include "gstglsyncmeta.h"
GST_DEBUG_CATEGORY_STATIC (gst_gl_sync_meta_debug);
#define GST_CAT_DEFAULT gst_gl_sync_meta_debug
GST_DEBUG_CATEGORY (GST_CAT_DEFAULT);
#ifndef GL_SYNC_GPU_COMMANDS_COMPLETE
#define GL_SYNC_GPU_COMMANDS_COMPLETE 0x9117

View file

@ -37,6 +37,7 @@
#include "gl.h"
#include "gstglwindow.h"
#include "gstglwindow_private.h"
/* FIXME make this work with windowless contexts */

View file

@ -264,8 +264,6 @@ GstGLContext * gst_gl_window_get_context (GstGLWindow *window);
GST_EXPORT
guintptr gst_gl_window_get_display (GstGLWindow *window);
GST_DEBUG_CATEGORY_EXTERN (gst_gl_window_debug);
G_END_DECLS
#endif /* __GST_GL_WINDOW_H__ */

View file

@ -35,6 +35,8 @@
#include "gstgldisplay_wayland.h"
#include "gstglwindow_wayland_egl.h"
#include "../gstglwindow_private.h"
const gchar *WlEGLErrorString ();
#define GST_CAT_DEFAULT gst_gl_window_debug

View file

@ -37,6 +37,7 @@
#include <gst/gl/gl.h>
#include "gstglcontext_glx.h"
#include "../utils/opengl_versions.h"
#include "../gstglcontext_private.h"
#define GST_CAT_DEFAULT gst_gl_context_debug

View file

@ -30,6 +30,9 @@
#include "gstglwindow_x11.h"
#include "gstgldisplay_x11.h"
#include "../gstglwindow_private.h"
/* for XkbKeycodeToKeysym */
#include <X11/XKBlib.h>