1/*
2 * GStreamer
3 * Copyright (C) 2014 Matthew Waters <ystreet00@gmail.com>
4 *
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version.
9 *
10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Library General Public License for more details.
14 *
15 * You should have received a copy of the GNU Library General Public
16 * License along with this library; if not, write to the
17 * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
18 * Boston, MA 02110-1301, USA.
19 */
20
21GST_GL_EXT_BEGIN (debug,
22 GST_GL_API_OPENGL3,
23 4, 3,
24 255, 255,
25 "KHR:\0KHR\0ARB\0",
26 "debug\0debug_output\0")
27GST_GL_EXT_FUNCTION (void, DebugMessageControl,
28 (GLenum source,
29 GLenum type,
30 GLenum severity,
31 GLsizei count,
32 const GLuint* ids,
33 gboolean enabled))
34GST_GL_EXT_FUNCTION (void, DebugMessageInsert,
35 (GLenum source,
36 GLenum type,
37 GLuint id,
38 GLenum severity,
39 GLsizei length,
40 const gchar *message))
41GST_GL_EXT_FUNCTION (void, DebugMessageCallback,
42 (GST_GL_DEBUG_PROC callback,
43 gpointer user_data))
44GST_GL_EXT_FUNCTION (GLuint, GetDebugMessageLog,
45 (GLuint count,
46 GLsizei bufSize,
47 GLenum* sources,
48 GLenum* types,
49 GLuint* ids,
50 GLenum* severities,
51 GLsizei* lengths,
52 gchar* messageLog))
53GST_GL_EXT_FUNCTION (void, GetPointerv,
54 (GLenum pname,
55 gpointer * params))
56GST_GL_EXT_END ()
57
58GST_GL_EXT_BEGIN (khr_debug,
59 GST_GL_API_OPENGL3,
60 4, 3,
61 255, 255,
62 "KHR:\0KHR\0",
63 "debug\0")
64GST_GL_EXT_FUNCTION (void, PushDebugGroup,
65 (GLenum source,
66 GLuint id,
67 GLsizei length,
68 const gchar * message))
69GST_GL_EXT_FUNCTION (void, PopDebugGroup, (void))
70GST_GL_EXT_FUNCTION (void, ObjectLabel,
71 (GLenum identifier,
72 GLuint name,
73 GLsizei length,
74 const gchar *label))
75GST_GL_EXT_FUNCTION (void, GetObjectLabel,
76 (GLenum identifier,
77 GLuint name,
78 GLsizei bufSize,
79 GLsizei *length,
80 gchar *label))
81GST_GL_EXT_FUNCTION (void, ObjectPtrLabel,
82 (gpointer ptr,
83 GLsizei length,
84 const gchar *label))
85GST_GL_EXT_FUNCTION (void, GetObjectPtrLabel,
86 (gpointer ptr,
87 GLsizei bufSize,
88 GLsizei *length,
89 gchar *label))
90GST_GL_EXT_END ()
91
92GST_GL_EXT_BEGIN (ext_debug_marker,
93 GST_GL_API_NONE,
94 255, 255,
95 255, 255,
96 "EXT\0",
97 "debug_marker\0")
98GST_GL_EXT_FUNCTION (void, InsertEventMarker,
99 (GLsizei length,
100 const gchar * message))
101GST_GL_EXT_FUNCTION (void, PushGroupMarker,
102 (GLsizei length,
103 const gchar * message))
104GST_GL_EXT_FUNCTION (void, PopGroupMarker,
105 (void))
106GST_GL_EXT_END ()
107
108GST_GL_EXT_BEGIN (gremedy_string_marker,
109 GST_GL_API_NONE,
110 255, 255,
111 255, 255,
112 "GREMEDY\0",
113 "string_marker\0")
114GST_GL_EXT_FUNCTION (void, StringMarker,
115 (GLsizei length,
116 const gchar * message))
117GST_GL_EXT_END ()
118

source code of include/gstreamer-1.0/gst/gl/glprototypes/debug.h