Mesa (master): glapi: Remove static dispatch for functions that didn' t exist in 10.4

Ian Romanick idr at kemper.freedesktop.org
Sat May 16 03:24:15 UTC 2015


Module: Mesa
Branch: master
Commit: c1ad2bac71fab362e397219d7274af842ef83878
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c1ad2bac71fab362e397219d7274af842ef83878

Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Tue May 12 15:47:41 2015 -0700

glapi: Remove static dispatch for functions that didn't exist in 10.4

Comparing the output of

    nm libGL.so | grep ' T gl[^X]' | sed 's/.* T //'

between 10.4.7 and this commit, the only change is the removal of
glFramebufferTextureFaceARB.  This function was removed a couple commits
previously.

None of these functions are particuarly new.  If applications were not
statically linking them with 10.4.7, there's approximately zero chance
they will for 10.6.

Almost all of these functions are for GL_ARB_direct_state_access.
Since the whole DSA API wasn't statically exported (and the extension
wasn't enabled!), I think there's exactly zero chance anyone linked
against these symbols.

Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>

---

 src/mapi/glapi/gen/static_data.py |   33 ---------------------------------
 1 file changed, 33 deletions(-)

diff --git a/src/mapi/glapi/gen/static_data.py b/src/mapi/glapi/gen/static_data.py
index b3cddc2..9623db2 100644
--- a/src/mapi/glapi/gen/static_data.py
+++ b/src/mapi/glapi/gen/static_data.py
@@ -490,7 +490,6 @@ functions = [
    "BindTexture",
    "BindTextureEXT",
    "BindTextures",
-   "BindTextureUnit",
    "BindTransformFeedback",
    "BindVertexArray",
    "BindVertexBuffer",
@@ -615,9 +614,6 @@ functions = [
    "CompressedTexSubImage2DARB",
    "CompressedTexSubImage3D",
    "CompressedTexSubImage3DARB",
-   "CompressedTextureSubImage1D",
-   "CompressedTextureSubImage2D",
-   "CompressedTextureSubImage3D",
    "ConvolutionFilter1D",
    "ConvolutionFilter2D",
    "ConvolutionParameterf",
@@ -641,15 +637,11 @@ functions = [
    "CopyTexSubImage2DEXT",
    "CopyTexSubImage3D",
    "CopyTexSubImage3DEXT",
-   "CopyTextureSubImage1D",
-   "CopyTextureSubImage2D",
-   "CopyTextureSubImage3D",
    "CreateProgram",
    "CreateProgramObjectARB",
    "CreateShader",
    "CreateShaderObjectARB",
    "CreateShaderProgramEXT",
-   "CreateTextures",
    "CullFace",
    "DebugMessageCallback",
    "DebugMessageCallbackARB",
@@ -802,7 +794,6 @@ functions = [
    "GenBuffersARB",
    "GenerateMipmap",
    "GenerateMipmapEXT",
-   "GenerateTextureMipmap",
    "GenFragmentShadersATI",
    "GenFramebuffers",
    "GenFramebuffersEXT",
@@ -853,7 +844,6 @@ functions = [
    "GetColorTableParameterivEXT",
    "GetCompressedTexImage",
    "GetCompressedTexImageARB",
-   "GetCompressedTextureImage",
    "GetConvolutionFilter",
    "GetConvolutionParameterfv",
    "GetConvolutionParameteriv",
@@ -984,13 +974,6 @@ functions = [
    "GetTexParameterIuivEXT",
    "GetTexParameteriv",
    "GetTexParameterxv",
-   "GetTextureImage",
-   "GetTextureLevelParameterfv",
-   "GetTextureLevelParameteriv",
-   "GetTextureParameterfv",
-   "GetTextureParameterIiv",
-   "GetTextureParameterIuiv",
-   "GetTextureParameteriv",
    "GetTrackMatrixivNV",
    "GetTransformFeedbackVarying",
    "GetTransformFeedbackVaryingEXT",
@@ -1255,7 +1238,6 @@ functions = [
    "PointSizex",
    "PolygonMode",
    "PolygonOffset",
-   "PolygonOffsetClampEXT",
    "PolygonOffsetEXT",
    "PolygonOffsetx",
    "PolygonStipple",
@@ -1503,24 +1485,9 @@ functions = [
    "TexSubImage3DEXT",
    "TextureBarrier",
    "TextureBarrierNV",
-   "TextureBuffer",
-   "TextureParameterf",
-   "TextureParameterfv",
-   "TextureParameteri",
-   "TextureParameterIiv",
-   "TextureParameterIuiv",
-   "TextureParameteriv",
-   "TextureStorage1D",
    "TextureStorage1DEXT",
-   "TextureStorage2D",
    "TextureStorage2DEXT",
-   "TextureStorage2DMultisample",
-   "TextureStorage3D",
    "TextureStorage3DEXT",
-   "TextureStorage3DMultisample",
-   "TextureSubImage1D",
-   "TextureSubImage2D",
-   "TextureSubImage3D",
    "TextureView",
    "TrackMatrixNV",
    "TransformFeedbackVaryings",




More information about the mesa-commit mailing list