Commit 1ddde500 authored by Tim-Philipp Müller's avatar Tim-Philipp Müller 🐠

gl: make some debug categories private

They weren't supposed to be public.

https://bugzilla.gnome.org/show_bug.cgi?id=786170
parent 4be04f83
......@@ -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
......
......@@ -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"
......
......@@ -46,6 +46,7 @@
#include "gl.h"
#include "gstglcontext.h"
#include "gstglcontext_private.h"
#include "gstglfeature_private.h"
#ifndef GL_NUM_EXTENSIONS
......
......@@ -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__ */
......@@ -24,6 +24,7 @@
#include "gl.h"
#include "gstgldebug.h"
#include "gstglcontext_private.h"
#include <glib/gprintf.h>
#include <string.h>
......
......@@ -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
......
......@@ -37,6 +37,7 @@
#include "gl.h"
#include "gstglwindow.h"
#include "gstglwindow_private.h"
/* FIXME make this work with windowless contexts */
......
......@@ -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__ */
......@@ -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
......
......@@ -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
......
......@@ -30,6 +30,9 @@
#include "gstglwindow_x11.h"
#include "gstgldisplay_x11.h"
#include "../gstglwindow_private.h"
/* for XkbKeycodeToKeysym */
#include <X11/XKBlib.h>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment