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" es2="3.2"> 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" es2="3.2"> 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" es2="3.2"> 95 <param name="callback" type="GLDEBUGPROC"/> 96 <param name="userParam" type="const GLvoid *"/> 97 </function> 98 99 <function name="GetDebugMessageLog" es2="3.2"> 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" es2="3.2"> 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" es2="3.2" /> 119 120 <function name="ObjectLabel" es2="3.2"> 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" es2="3.2"> 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" es2="3.2"> 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" es2="3.2"> 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 <!-- ES extension has different suffixes --> 149 <function name="DebugMessageControlKHR" alias="DebugMessageControl" es1="1.1" es2="2.0"> 150 <param name="source" type="GLenum"/> 151 <param name="type" type="GLenum"/> 152 <param name="severity" type="GLenum"/> 153 <param name="count" type="GLsizei" counter="true"/> 154 <param name="ids" type="const GLuint *" count="count"/> 155 <param name="enabled" type="GLboolean"/> 156 </function> 157 158 <function name="DebugMessageInsertKHR" alias="DebugMessageInsert" es1="1.1" es2="2.0"> 159 <param name="source" type="GLenum"/> 160 <param name="type" type="GLenum"/> 161 <param name="id" type="GLuint"/> 162 <param name="severity" type="GLenum"/> 163 <param name="length" type="GLsizei"/> 164 <param name="buf" type="const GLchar *"/> 165 </function> 166 167 <function name="DebugMessageCallbackKHR" alias="DebugMessageCallback" es1="1.1" es2="2.0"> 168 <param name="callback" type="GLDEBUGPROC"/> 169 <param name="userParam" type="const GLvoid *"/> 170 </function> 171 172 <function name="GetDebugMessageLogKHR" alias="GetDebugMessageLog" es1="1.1" es2="2.0"> 173 <return type="GLuint"/> 174 <param name="count" type="GLuint"/> 175 <param name="bufsize" type="GLsizei"/> 176 <param name="sources" type="GLenum *" output="true"/> 177 <param name="types" type="GLenum *" output="true"/> 178 <param name="ids" type="GLuint *" output="true"/> 179 <param name="severities" type="GLenum *" output="true"/> 180 <param name="lengths" type="GLsizei *" output="true"/> 181 <param name="messageLog" type="GLchar *" output="true"/> 182 </function> 183 184 <function name="GetPointervKHR" alias="GetPointerv" es1="1.1" es2="2.0"> 185 <param name="pname" type="GLenum"/> 186 <param name="params" type="GLvoid **" output="true"/> 187 </function> 188 189 <function name="PushDebugGroupKHR" alias="PushDebugGroup" es1="1.1" es2="2.0"> 190 <param name="source" type="GLenum"/> 191 <param name="id" type="GLuint"/> 192 <param name="length" type="GLsizei"/> 193 <param name="message" type="const GLchar *"/> 194 </function> 195 196 <function name="PopDebugGroupKHR" alias="PopDebugGroup" es1="1.1" es2="2.0"/> 197 198 <function name="ObjectLabelKHR" alias="ObjectLabel" es1="1.1" es2="2.0"> 199 <param name="identifier" type="GLenum"/> 200 <param name="name" type="GLuint"/> 201 <param name="length" type="GLsizei"/> 202 <param name="label" type="const GLchar *"/> 203 </function> 204 205 <function name="GetObjectLabelKHR" alias="GetObjectLabel" es1="1.1" es2="2.0"> 206 <param name="identifier" type="GLenum"/> 207 <param name="name" type="GLuint"/> 208 <param name="bufSize" type="GLsizei"/> 209 <param name="length" type="GLsizei *"/> 210 <param name="label" type="GLchar *"/> 211 </function> 212 213 <function name="ObjectPtrLabelKHR" alias="ObjectPtrLabel" es1="1.1" es2="2.0"> 214 <param name="ptr" type="const GLvoid *"/> 215 <param name="length" type="GLsizei"/> 216 <param name="label" type="const GLchar *"/> 217 </function> 218 219 <function name="GetObjectPtrLabelKHR" alias="GetObjectPtrLabel" es1="1.1" es2="2.0"> 220 <param name="ptr" type="const GLvoid *"/> 221 <param name="bufSize" type="GLsizei"/> 222 <param name="length" type="GLsizei *"/> 223 <param name="label" type="GLchar *"/> 224 </function> 225 226</category> 227 228</OpenGLAPI> 229