From 971c74309e25a7f40a21582f9b16e101616fb6fb Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Sat, 19 Oct 2013 08:21:38 -0600 Subject: [PATCH] mesa: remove remnants of GL_MESA_shader_debug This extension never saw any real use so remove it. v2: also update tests/num_strings.cpp for 'make check' Reviewed-by: Ian Romanick --- include/GL/gl.h | 20 ----------------- src/mapi/glapi/gen/gl_API.xml | 32 ---------------------------- src/mesa/main/tests/enum_strings.cpp | 3 --- 3 files changed, 55 deletions(-) diff --git a/include/GL/gl.h b/include/GL/gl.h index babb7463e66..968032c5b32 100644 --- a/include/GL/gl.h +++ b/include/GL/gl.h @@ -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 diff --git a/src/mapi/glapi/gen/gl_API.xml b/src/mapi/glapi/gen/gl_API.xml index 48fce36ab0d..30ab9c9c116 100644 --- a/src/mapi/glapi/gen/gl_API.xml +++ b/src/mapi/glapi/gen/gl_API.xml @@ -13027,38 +13027,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/mesa/main/tests/enum_strings.cpp b/src/mesa/main/tests/enum_strings.cpp index 8a3103b635f..3795700272f 100644 --- a/src/mesa/main/tests/enum_strings.cpp +++ b/src/mesa/main/tests/enum_strings.cpp @@ -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" }, -- 2.30.2