From: Ian Romanick Date: Tue, 12 May 2015 22:24:03 +0000 (-0700) Subject: glapi: Remove static dispatch for functions that didn't exist in 10.5 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=832d43bbb6e5e04d71dd3d6e2de94a1c38b3485f;p=mesa.git glapi: Remove static dispatch for functions that didn't exist in 10.5 Comparing the output of nm libGL.so | grep ' T gl[^X]' | sed 's/.* T //' between 10.5.5 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.5.5, there's approximately zero chance they will for 10.6. Signed-off-by: Ian Romanick Reviewed-by: Emil Velikov --- diff --git a/src/mapi/glapi/gen/static_data.py b/src/mapi/glapi/gen/static_data.py index a1983ffcf35..b3cddc23386 100644 --- a/src/mapi/glapi/gen/static_data.py +++ b/src/mapi/glapi/gen/static_data.py @@ -540,8 +540,6 @@ functions = [ "ClearDepthf", "ClearDepthx", "ClearIndex", - "ClearNamedBufferData", - "ClearNamedBufferSubData", "ClearStencil", "ClearTexImage", "ClearTexSubImage", @@ -632,7 +630,6 @@ functions = [ "CopyConvolutionFilter1D", "CopyConvolutionFilter2D", "CopyImageSubData", - "CopyNamedBufferSubData", "CopyPixels", "CopyTexImage1D", "CopyTexImage1DEXT", @@ -647,19 +644,12 @@ functions = [ "CopyTextureSubImage1D", "CopyTextureSubImage2D", "CopyTextureSubImage3D", - "CreateBuffers", "CreateProgram", "CreateProgramObjectARB", - "CreateProgramPipelines", - "CreateQueries", - "CreateRenderbuffers", - "CreateSamplers", "CreateShader", "CreateShaderObjectARB", "CreateShaderProgramEXT", "CreateTextures", - "CreateTransformFeedbacks", - "CreateVertexArrays", "CullFace", "DebugMessageCallback", "DebugMessageCallbackARB", @@ -702,7 +692,6 @@ functions = [ "DisableClientState", "Disablei", "DisableIndexedEXT", - "DisableVertexArrayAttrib", "DisableVertexAttribArray", "DisableVertexAttribArrayARB", "DispatchCompute", @@ -745,7 +734,6 @@ functions = [ "EnableClientState", "Enablei", "EnableIndexedEXT", - "EnableVertexArrayAttrib", "EnableVertexAttribArray", "EnableVertexAttribArrayARB", "End", @@ -777,7 +765,6 @@ functions = [ "Finish", "Flush", "FlushMappedBufferRange", - "FlushMappedNamedBufferRange", "FogCoordd", "FogCoorddEXT", "FogCoorddv", @@ -907,11 +894,6 @@ functions = [ "GetMinmaxParameterfv", "GetMinmaxParameteriv", "GetMultisamplefv", - "GetNamedBufferParameteri64v", - "GetNamedBufferParameteriv", - "GetNamedBufferPointerv", - "GetNamedBufferSubData", - "GetNamedRenderbufferParameteriv", "GetnColorTableARB", "GetnCompressedTexImageARB", "GetnConvolutionFilterARB", @@ -951,7 +933,6 @@ functions = [ "GetProgramEnvParameterdvARB", "GetProgramEnvParameterfvARB", "GetProgramInfoLog", - "GetProgramInterfaceiv", "GetProgramiv", "GetProgramivARB", "GetProgramivNV", @@ -961,17 +942,8 @@ functions = [ "GetProgramNamedParameterfvNV", "GetProgramParameterdvNV", "GetProgramParameterfvNV", - "GetProgramResourceIndex", - "GetProgramResourceiv", - "GetProgramResourceLocation", - "GetProgramResourceLocationIndex", - "GetProgramResourceName", "GetProgramStringARB", "GetProgramStringNV", - "GetQueryBufferObjecti64v", - "GetQueryBufferObjectiv", - "GetQueryBufferObjectui64v", - "GetQueryBufferObjectuiv", "GetQueryIndexediv", "GetQueryiv", "GetQueryivARB", @@ -1020,13 +992,9 @@ functions = [ "GetTextureParameterIuiv", "GetTextureParameteriv", "GetTrackMatrixivNV", - "GetTransformFeedbacki64_v", - "GetTransformFeedbackiv", - "GetTransformFeedbacki_v", "GetTransformFeedbackVarying", "GetTransformFeedbackVaryingEXT", "GetUniformBlockIndex", - "GetUniformdv", "GetUniformfv", "GetUniformfvARB", "GetUniformIndices", @@ -1036,9 +1004,6 @@ functions = [ "GetUniformLocationARB", "GetUniformuiv", "GetUniformuivEXT", - "GetVertexArrayIndexed64iv", - "GetVertexArrayIndexediv", - "GetVertexArrayiv", "GetVertexAttribdv", "GetVertexAttribdvARB", "GetVertexAttribdvNV", @@ -1052,7 +1017,6 @@ functions = [ "GetVertexAttribiv", "GetVertexAttribivARB", "GetVertexAttribivNV", - "GetVertexAttribLdv", "GetVertexAttribPointerv", "GetVertexAttribPointervARB", "GetVertexAttribPointervNV", @@ -1142,8 +1106,6 @@ functions = [ "MapGrid1f", "MapGrid2d", "MapGrid2f", - "MapNamedBuffer", - "MapNamedBufferRange", "Materialf", "Materialfv", "Materiali", @@ -1242,11 +1204,6 @@ functions = [ "MultTransposeMatrixdARB", "MultTransposeMatrixf", "MultTransposeMatrixfARB", - "NamedBufferData", - "NamedBufferStorage", - "NamedBufferSubData", - "NamedRenderbufferStorage", - "NamedRenderbufferStorageMultisample", "NewList", "Normal3b", "Normal3bv", @@ -1547,7 +1504,6 @@ functions = [ "TextureBarrier", "TextureBarrierNV", "TextureBuffer", - "TextureBufferRange", "TextureParameterf", "TextureParameterfv", "TextureParameteri", @@ -1567,15 +1523,11 @@ functions = [ "TextureSubImage3D", "TextureView", "TrackMatrixNV", - "TransformFeedbackBufferBase", - "TransformFeedbackBufferRange", "TransformFeedbackVaryings", "TransformFeedbackVaryingsEXT", "Translated", "Translatef", "Translatex", - "Uniform1d", - "Uniform1dv", "Uniform1f", "Uniform1fARB", "Uniform1fv", @@ -1588,8 +1540,6 @@ functions = [ "Uniform1uiEXT", "Uniform1uiv", "Uniform1uivEXT", - "Uniform2d", - "Uniform2dv", "Uniform2f", "Uniform2fARB", "Uniform2fv", @@ -1602,8 +1552,6 @@ functions = [ "Uniform2uiEXT", "Uniform2uiv", "Uniform2uivEXT", - "Uniform3d", - "Uniform3dv", "Uniform3f", "Uniform3fARB", "Uniform3fv", @@ -1616,8 +1564,6 @@ functions = [ "Uniform3uiEXT", "Uniform3uiv", "Uniform3uivEXT", - "Uniform4d", - "Uniform4dv", "Uniform4f", "Uniform4fARB", "Uniform4fv", @@ -1631,31 +1577,21 @@ functions = [ "Uniform4uiv", "Uniform4uivEXT", "UniformBlockBinding", - "UniformMatrix2dv", "UniformMatrix2fv", "UniformMatrix2fvARB", - "UniformMatrix2x3dv", "UniformMatrix2x3fv", - "UniformMatrix2x4dv", "UniformMatrix2x4fv", - "UniformMatrix3dv", "UniformMatrix3fv", "UniformMatrix3fvARB", - "UniformMatrix3x2dv", "UniformMatrix3x2fv", - "UniformMatrix3x4dv", "UniformMatrix3x4fv", - "UniformMatrix4dv", "UniformMatrix4fv", "UniformMatrix4fvARB", - "UniformMatrix4x2dv", "UniformMatrix4x2fv", - "UniformMatrix4x3dv", "UniformMatrix4x3fv", "UnlockArraysEXT", "UnmapBuffer", "UnmapBufferARB", - "UnmapNamedBuffer", "UseProgram", "UseProgramObjectARB", "UseShaderProgramEXT", @@ -1695,14 +1631,6 @@ functions = [ "Vertex4iv", "Vertex4s", "Vertex4sv", - "VertexArrayAttribBinding", - "VertexArrayAttribFormat", - "VertexArrayAttribIFormat", - "VertexArrayAttribLFormat", - "VertexArrayBindingDivisor", - "VertexArrayElementBuffer", - "VertexArrayVertexBuffer", - "VertexArrayVertexBuffers", "VertexAttrib1d", "VertexAttrib1dARB", "VertexAttrib1dNV", @@ -1848,16 +1776,7 @@ functions = [ "VertexAttribIFormat", "VertexAttribIPointer", "VertexAttribIPointerEXT", - "VertexAttribL1d", - "VertexAttribL1dv", - "VertexAttribL2d", - "VertexAttribL2dv", - "VertexAttribL3d", - "VertexAttribL3dv", - "VertexAttribL4d", - "VertexAttribL4dv", "VertexAttribLFormat", - "VertexAttribLPointer", "VertexAttribP1ui", "VertexAttribP1uiv", "VertexAttribP2ui",