glapi: Remove static dispatch for functions that didn't exist in 10.4
authorIan Romanick <ian.d.romanick@intel.com>
Tue, 12 May 2015 22:47:41 +0000 (15:47 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Sat, 16 May 2015 03:23:15 +0000 (20:23 -0700)
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@intel.com>
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
src/mapi/glapi/gen/static_data.py

index b3cddc23386576f81d6c1102a5520861ba3c3afa..9623db2af61e554646fe00f4b41efc05b27cc808 100644 (file)
@@ -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",