mesa: remove remnants of GL_MESA_shader_debug
authorBrian Paul <brianp@vmware.com>
Sat, 19 Oct 2013 14:21:38 +0000 (08:21 -0600)
committerBrian Paul <brianp@vmware.com>
Tue, 22 Oct 2013 14:20:45 +0000 (08:20 -0600)
This extension never saw any real use so remove it.

v2: also update tests/num_strings.cpp for 'make check'

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
include/GL/gl.h
src/mapi/glapi/gen/gl_API.xml
src/mesa/main/tests/enum_strings.cpp

index babb7463e66bb99069d900bffe782cc480bfde21..968032c5b324fedb5d9e8adc966a5c9a868d3542 100644 (file)
@@ -2086,26 +2086,6 @@ typedef void (APIENTRYP PFNGLMULTITEXCOORD4SVARBPROC) (GLenum target, const GLsh
 
 
 
-#if GL_ARB_shader_objects
-
-#ifndef GL_MESA_shader_debug
-#define GL_MESA_shader_debug 1
-
-#define GL_DEBUG_OBJECT_MESA              0x8759
-#define GL_DEBUG_PRINT_MESA               0x875A
-#define GL_DEBUG_ASSERT_MESA              0x875B
-
-GLAPI GLhandleARB GLAPIENTRY glCreateDebugObjectMESA (void);
-GLAPI void GLAPIENTRY glClearDebugLogMESA (GLhandleARB obj, GLenum logType, GLenum shaderType);
-GLAPI void GLAPIENTRY glGetDebugLogMESA (GLhandleARB obj, GLenum logType, GLenum shaderType, GLsizei maxLength,
-                                         GLsizei *length, GLcharARB *debugLog);
-GLAPI GLsizei GLAPIENTRY glGetDebugLogLengthMESA (GLhandleARB obj, GLenum logType, GLenum shaderType);
-
-#endif /* GL_MESA_shader_debug */
-
-#endif /* GL_ARB_shader_objects */
-
-
 /*
  * ???. GL_MESA_packed_depth_stencil
  * XXX obsolete
index 48fce36ab0d5e3d101d57e7e13ce89d199f9d962..30ab9c9c116f4655f7f3dc5ac0eacf1760abce0c 100644 (file)
     <enum name="RGBA8_SNORM"                              value="0x8F97"/>
 </category>
 
-<category name="GL_MESA_shader_debug">
-    <enum name="DEBUG_OBJECT_MESA"                        value="0x8759"/>
-    <enum name="DEBUG_PRINT_MESA"                         value="0x875A"/>
-    <enum name="DEBUG_ASSERT_MESA"                        value="0x875B"/>
-    <function name="CreateDebugObjectMESA" exec="skip">
-        <return type="GLhandleARB"/>
-        <glx ignore="true"/>
-    </function>
-    <function name="ClearDebugLogMESA" exec="skip">
-        <param name="obj" type="GLhandleARB"/>
-        <param name="logType" type="GLenum"/>
-        <param name="shaderType" type="GLenum"/>
-        <glx ignore="true"/>
-    </function>
-    <function name="GetDebugLogMESA" exec="skip">
-        <param name="obj" type="GLhandleARB"/>
-        <param name="logType" type="GLenum"/>
-        <param name="shaderType" type="GLenum"/>
-        <param name="maxLength" type="GLsizei"/>
-        <param name="length" type="GLsizei *" output="true"/>
-        <param name="debugLog" type="GLcharARB *" output="true"/>
-        <glx ignore="true"/>
-    </function>
-    <function name="GetDebugLogLengthMESA" exec="skip">
-        <return type="GLsizei"/>
-        <param name="obj" type="GLhandleARB"/>
-        <param name="logType" type="GLenum"/>
-        <param name="shaderType" type="GLenum"/>
-        <glx ignore="true"/>
-    </function>
-</category>
-
 <category name="GL_SGIS_point_parameters">
     <enum name="POINT_SIZE_MIN_SGIS"           count="1"  value="0x8126">
         <size name="PointParameterfv"/>
index 8a3103b635f6cca9accb1df3b0c677e6756a78ef..3795700272f0b38de8ba8ef4f414397b9fa9721c 100644 (file)
@@ -1110,9 +1110,6 @@ const struct enum_info everything[] = {
    { 0x8746, "GL_MODULATE_SUBTRACT_ATI" },
    { 0x8757, "GL_YCBCR_MESA" },
    { 0x8758, "GL_PACK_INVERT_MESA" },
-   { 0x8759, "GL_DEBUG_OBJECT_MESA" },
-   { 0x875A, "GL_DEBUG_PRINT_MESA" },
-   { 0x875B, "GL_DEBUG_ASSERT_MESA" },
    { 0x8764, "GL_BUFFER_SIZE" },
    { 0x8765, "GL_BUFFER_USAGE" },
    { 0x8775, "GL_BUMP_ROT_MATRIX_ATI" },