[Mesa-dev] [PATCH 1/2] mesa: remove remnants of GL_MESA_shader_debug
Ian Romanick
idr at freedesktop.org
Mon Oct 21 17:23:02 CEST 2013
With the one comment below taken care of, the series is
Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
On 10/19/2013 07:34 AM, Brian Paul wrote:
> This extension never saw any real use so remove it.
> ---
> include/GL/gl.h | 20 --------------------
> src/mapi/glapi/gen/gl_API.xml | 32 --------------------------------
> 2 files changed, 52 deletions(-)
>
> diff --git a/include/GL/gl.h b/include/GL/gl.h
> index babb746..968032c 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 48fce36..30ab9c9 100644
> --- a/src/mapi/glapi/gen/gl_API.xml
> +++ b/src/mapi/glapi/gen/gl_API.xml
> @@ -13027,38 +13027,6 @@
> <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"/>
You also need to remove the enums from
src/mesa/main/tests/enum_strings.cpp. I suspect 'make check' will fail
otherwise.
> - <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"/>
>
More information about the mesa-dev
mailing list