From ec99383a2172b36f603b369dd06af96a7f680e99 Mon Sep 17 00:00:00 2001 From: Matthew Waters Date: Mon, 31 Aug 2015 19:17:21 +1000 Subject: [PATCH] gl: add some debugging prototypes --- gst-libs/gst/gl/glprototypes/debug.h | 29 +++++++++++++++++++++++++++- 1 file changed, 28 insertions(+), 1 deletion(-) diff --git a/gst-libs/gst/gl/glprototypes/debug.h b/gst-libs/gst/gl/glprototypes/debug.h index 6c53ea2686..135d4e6720 100644 --- a/gst-libs/gst/gl/glprototypes/debug.h +++ b/gst-libs/gst/gl/glprototypes/debug.h @@ -34,6 +34,7 @@ GST_GL_EXT_FUNCTION (void, DebugMessageControl, GST_GL_EXT_FUNCTION (void, DebugMessageInsert, (GLenum source, GLenum type, + GLuint id, GLenum severity, GLsizei length, const gchar *message)) @@ -52,7 +53,7 @@ GST_GL_EXT_FUNCTION (GLuint, GetDebugMessageLog, GST_GL_EXT_FUNCTION (void, GetPointerv, (GLenum pname, gpointer * params)) -GST_GL_EXT_END () +GST_GL_EXT_END () GST_GL_EXT_BEGIN (khr_debug, GST_GL_API_OPENGL3, @@ -88,3 +89,29 @@ GST_GL_EXT_FUNCTION (void, GetObjectPtrLabel, gchar *label)) GST_GL_EXT_END () +GST_GL_EXT_BEGIN (ext_debug_marker, + GST_GL_API_NONE, + 255, 255, + 255, 255, + "EXT\0", + "debug_marker\0") +GST_GL_EXT_FUNCTION (void, InsertEventMarker, + (GLsizei length, + const gchar * message)) +GST_GL_EXT_FUNCTION (void, PushGroupMarker, + (GLsizei length, + const gchar * message)) +GST_GL_EXT_FUNCTION (void, PopGroupMarker, + (void)) +GST_GL_EXT_END () + +GST_GL_EXT_BEGIN (gremedy_string_marker, + GST_GL_API_NONE, + 255, 255, + 255, 255, + "GREMEDY\0", + "string_marker\0") +GST_GL_EXT_FUNCTION (void, StringMarker, + (GLsizei length, + const gchar * message)) +GST_GL_EXT_END ()