glapi: Remove all offset tags from the XML
[mesa.git] / src / mapi / glapi / gen / KHR_debug.xml
1 <?xml version="1.0"?>
2 <!DOCTYPE OpenGLAPI SYSTEM "gl_API.dtd">
3
4 <OpenGLAPI>
5
6 <category name="GL_KHR_debug" number="119">
7 <enum name="DEBUG_OUTPUT" value="0x92E0"/>
8 <enum name="DEBUG_OUTPUT_SYNCHRONOUS" value="0x8242"/>
9
10 <enum name="CONTEXT_FLAG_DEBUG_BIT" value="0x00000002"/>
11
12 <enum name="MAX_DEBUG_MESSAGE_LENGTH" count="1" value="0x9143">
13 <size name="Get" mode="get"/>
14 </enum>
15 <enum name="MAX_DEBUG_LOGGED_MESSAGES" count="1" value="0x9144">
16 <size name="Get" mode="get"/>
17 </enum>
18 <enum name="DEBUG_LOGGED_MESSAGES" count="1" value="0x9145">
19 <size name="Get" mode="get"/>
20 </enum>
21 <enum name="DEBUG_NEXT_LOGGED_MESSAGE_LENGTH" count="1" value="0x8243">
22 <size name="Get" mode="get"/>
23 </enum>
24 <enum name="MAX_DEBUG_GROUP_STACK_DEPTH" count="1" value="0x826C">
25 <size name="Get" mode="get"/>
26 </enum>
27 <enum name="DEBUG_GROUP_STACK_DEPTH" count="1" value="0x826D">
28 <size name="Get" mode="get"/>
29 </enum>
30 <enum name="MAX_LABEL_LENGTH" count="1" value="0x82E8">
31 <size name="Get" mode="get"/>
32 </enum>
33
34 <enum name="DEBUG_CALLBACK_FUNCTION" count="1" value="0x8244">
35 <size name="GetPointerv" mode="get"/>
36 </enum>
37 <enum name="DEBUG_CALLBACK_USER_PARAM" count="1" value="0x8245">
38 <size name="GetPointerv" mode="get"/>
39 </enum>
40
41 <enum name="DEBUG_SOURCE_API" value="0x8246"/>
42 <enum name="DEBUG_SOURCE_WINDOW_SYSTEM" value="0x8247"/>
43 <enum name="DEBUG_SOURCE_SHADER_COMPILER" value="0x8248"/>
44 <enum name="DEBUG_SOURCE_THIRD_PARTY" value="0x8249"/>
45 <enum name="DEBUG_SOURCE_APPLICATION" value="0x824A"/>
46 <enum name="DEBUG_SOURCE_OTHER" value="0x824B"/>
47
48 <enum name="DEBUG_TYPE_ERROR" value="0x824C"/>
49 <enum name="DEBUG_TYPE_DEPRECATED_BEHAVIOR" value="0x824D"/>
50 <enum name="DEBUG_TYPE_UNDEFINED_BEHAVIOR" value="0x824E"/>
51 <enum name="DEBUG_TYPE_PORTABILITY" value="0x824F"/>
52 <enum name="DEBUG_TYPE_PERFORMANCE" value="0x8250"/>
53 <enum name="DEBUG_TYPE_OTHER" value="0x8251"/>
54 <enum name="DEBUG_TYPE_MARKER" value="0x8268"/>
55
56 <enum name="DEBUG_TYPE_PUSH_GROUP" value="0x8269"/>
57 <enum name="DEBUG_TYPE_POP_GROUP" value="0x826A"/>
58
59 <enum name="DEBUG_SEVERITY_HIGH" value="0x9146"/>
60 <enum name="DEBUG_SEVERITY_MEDIUM" value="0x9147"/>
61 <enum name="DEBUG_SEVERITY_LOW" value="0x9148"/>
62 <enum name="DEBUG_SEVERITY_NOTIFICATION" value="0x826B"/>
63
64 <enum name="STACK_UNDERFLOW" value="0x0504"/>
65 <enum name="STACK_OVERFLOW" value="0x0503"/>
66
67 <enum name="BUFFER" value="0x82E0"/>
68 <enum name="SHADER" value="0x82E1"/>
69 <enum name="PROGRAM" value="0x82E2"/>
70 <enum name="QUERY" value="0x82E3"/>
71 <enum name="PROGRAM_PIPELINE" value="0x82E4"/>
72 <enum name="SAMPLER" value="0x82E6"/>
73 <!-- Compatibility Profile -->
74 <enum name="DISPLAY_LIST" value="0x82E7"/>
75
76 <function name="DebugMessageControl">
77 <param name="source" type="GLenum"/>
78 <param name="type" type="GLenum"/>
79 <param name="severity" type="GLenum"/>
80 <param name="count" type="GLsizei" counter="true"/>
81 <param name="ids" type="const GLuint *" count="count"/>
82 <param name="enabled" type="GLboolean"/>
83 </function>
84
85 <function name="DebugMessageInsert">
86 <param name="source" type="GLenum"/>
87 <param name="type" type="GLenum"/>
88 <param name="id" type="GLuint"/>
89 <param name="severity" type="GLenum"/>
90 <param name="length" type="GLsizei"/>
91 <param name="buf" type="const GLchar *"/>
92 </function>
93
94 <function name="DebugMessageCallback">
95 <param name="callback" type="GLDEBUGPROC"/>
96 <param name="userParam" type="const GLvoid *"/>
97 </function>
98
99 <function name="GetDebugMessageLog">
100 <return type="GLuint"/>
101 <param name="count" type="GLuint"/>
102 <param name="bufsize" type="GLsizei"/>
103 <param name="sources" type="GLenum *" output="true"/>
104 <param name="types" type="GLenum *" output="true"/>
105 <param name="ids" type="GLuint *" output="true"/>
106 <param name="severities" type="GLenum *" output="true"/>
107 <param name="lengths" type="GLsizei *" output="true"/>
108 <param name="messageLog" type="GLchar *" output="true"/>
109 </function>
110
111 <function name="PushDebugGroup">
112 <param name="source" type="GLenum"/>
113 <param name="id" type="GLuint"/>
114 <param name="length" type="GLsizei"/>
115 <param name="message" type="const GLchar *"/>
116 </function>
117
118 <function name="PopDebugGroup" />
119
120 <function name="ObjectLabel">
121 <param name="identifier" type="GLenum"/>
122 <param name="name" type="GLuint"/>
123 <param name="length" type="GLsizei"/>
124 <param name="label" type="const GLchar *"/>
125 </function>
126
127 <function name="GetObjectLabel">
128 <param name="identifier" type="GLenum"/>
129 <param name="name" type="GLuint"/>
130 <param name="bufSize" type="GLsizei"/>
131 <param name="length" type="GLsizei *"/>
132 <param name="label" type="GLchar *"/>
133 </function>
134
135 <function name="ObjectPtrLabel">
136 <param name="ptr" type="const GLvoid *"/>
137 <param name="length" type="GLsizei"/>
138 <param name="label" type="const GLchar *"/>
139 </function>
140
141 <function name="GetObjectPtrLabel">
142 <param name="ptr" type="const GLvoid *"/>
143 <param name="bufSize" type="GLsizei"/>
144 <param name="length" type="GLsizei *"/>
145 <param name="label" type="GLchar *"/>
146 </function>
147
148 </category>
149
150 </OpenGLAPI>