Home | History | Annotate | Download | only in gen
      1 <?xml version="1.0"?>
      2 <!DOCTYPE OpenGLAPI SYSTEM "gl_API.dtd">
      3 
      4 <!-- Note: no GLX protocol info yet. -->
      5 
      6 
      7 <OpenGLAPI>
      8 
      9 <category name="GL_ARB_debug_output" number="104">
     10 
     11     <!-- glEnable/Disable/IsEnabled -->
     12     <enum name="DEBUG_OUTPUT_SYNCHRONOUS_ARB"              value="0x8242"/>
     13 
     14     <!-- glGetIntegerv -->
     15     <enum name="MAX_DEBUG_MESSAGE_LENGTH_ARB"    count="1" value="0x9143">
     16         <size name="Get" mode="get"/>
     17     </enum>
     18     <enum name="MAX_DEBUG_LOGGED_MESSAGES_ARB"   count="1" value="0x9144">
     19         <size name="Get" mode="get"/>
     20     </enum>
     21     <enum name="DEBUG_LOGGED_MESSAGES_ARB"       count="1" value="0x9145">
     22         <size name="Get" mode="get"/>
     23     </enum>
     24     <enum name="DEBUG_NEXT_LOGGED_MESSAGE_LENGTH_ARB" count="1" value="0x8243">
     25         <size name="Get" mode="get"/>
     26     </enum>
     27 
     28     <!-- glGetPointerv -->
     29     <enum name="DEBUG_CALLBACK_FUNCTION_ARB"     count="1" value="0x8244">
     30         <size name="GetPointerv" mode="get"/>
     31     </enum>
     32     <enum name="DEBUG_CALLBACK_USER_PARAM_ARB"   count="1" value="0x8245">
     33         <size name="GetPointerv" mode="get"/>
     34     </enum>
     35 
     36     <enum name="DEBUG_SOURCE_API_ARB"                      value="0x8246"/>
     37     <enum name="DEBUG_SOURCE_WINDOW_SYSTEM_ARB"            value="0x8247"/>
     38     <enum name="DEBUG_SOURCE_SHADER_COMPILER_ARB"          value="0x8248"/>
     39     <enum name="DEBUG_SOURCE_THIRD_PARTY_ARB"              value="0x8249"/>
     40     <enum name="DEBUG_SOURCE_APPLICATION_ARB"              value="0x824A"/>
     41     <enum name="DEBUG_SOURCE_OTHER_ARB"                    value="0x824B"/>
     42 
     43     <enum name="DEBUG_TYPE_ERROR_ARB"                      value="0x824C"/>
     44     <enum name="DEBUG_TYPE_DEPRECATED_BEHAVIOR_ARB"        value="0x824D"/>
     45     <enum name="DEBUG_TYPE_UNDEFINED_BEHAVIOR_ARB"         value="0x824E"/>
     46     <enum name="DEBUG_TYPE_PORTABILITY_ARB"                value="0x824F"/>
     47     <enum name="DEBUG_TYPE_PERFORMANCE_ARB"                value="0x8250"/>
     48     <enum name="DEBUG_TYPE_OTHER_ARB"                      value="0x8251"/>
     49 
     50     <enum name="DEBUG_SEVERITY_HIGH_ARB"                   value="0x9146"/>
     51     <enum name="DEBUG_SEVERITY_MEDIUM_ARB"                 value="0x9147"/>
     52     <enum name="DEBUG_SEVERITY_LOW_ARB"                    value="0x9148"/>
     53 
     54 
     55     <function name="DebugMessageControlARB" offset="assign">
     56         <param name="source" type="GLenum"/>
     57         <param name="type" type="GLenum"/>
     58         <param name="severity" type="GLenum"/>
     59         <param name="count" type="GLsizei" counter="true"/>
     60         <param name="ids" type="const GLuint *" count="count"/>
     61         <param name="enabled" type="GLboolean"/>
     62     </function>
     63 
     64     <function name="DebugMessageInsertARB" offset="assign">
     65         <param name="source" type="GLenum"/>
     66         <param name="type" type="GLenum"/>
     67         <param name="id" type="GLuint"/>
     68         <param name="severity" type="GLenum"/>
     69         <param name="length" type="GLsizei"/>
     70         <param name="buf" type="const GLcharARB *"/>
     71     </function>
     72 
     73     <function name="DebugMessageCallbackARB" offset="assign">
     74         <param name="callback" type="GLDEBUGPROCARB"/>
     75         <param name="userParam" type="const GLvoid *"/>
     76     </function>
     77 
     78     <function name="GetDebugMessageLogARB" offset="assign">
     79         <return type="GLuint"/>
     80         <param name="count" type="GLuint"/>
     81         <param name="bufsize" type="GLsizei"/>
     82         <param name="sources" type="GLenum *" output="true"/>
     83         <param name="types" type="GLenum *" output="true"/>
     84         <param name="ids" type="GLuint *" output="true"/>
     85         <param name="severities" type="GLenum *" output="true"/>
     86         <param name="lengths" type="GLsizei *" output="true"/>
     87         <param name="messageLog" type="GLcharARB *" output="true"/>
     88     </function>
     89 
     90 </category>
     91 
     92 
     93 </OpenGLAPI>
     94