From 0fe7eab8d9a8c984ceb7aa333715799840ea7ec0 Mon Sep 17 00:00:00 2001 From: Ian Romanick Date: Tue, 12 May 2015 18:09:13 -0700 Subject: glapi: Add a list of functions that are not used but still need dispatch slots Signed-off-by: Ian Romanick Reviewed-by: Emil Velikov --- src/mapi/glapi/gen/static_data.py | 56 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) diff --git a/src/mapi/glapi/gen/static_data.py b/src/mapi/glapi/gen/static_data.py index cf909fc0349..142c503b0c5 100644 --- a/src/mapi/glapi/gen/static_data.py +++ b/src/mapi/glapi/gen/static_data.py @@ -1671,3 +1671,59 @@ functions = [ "WindowPos3sv", "WindowPos3svARB", ] + +"""Functions that need dispatch slots but are not used + +Some of these functions may have GLX protocol support (for +indirect-rendering). Other were used in previous versions of Mesa. They keep +slots in the dispatch table so that newer versions of libGL can still be used +with older drivers.""" +unused_functions = [ + # SGIS_multisample + "SampleMaskSGIS", + "SamplePatternSGIS", + + # NV_vertex_program + "AreProgramsResidentNV", + "ExecuteProgramNV", + "GetProgramParameterdvNV", + "GetProgramParameterfvNV", + "GetProgramivNV", + "GetProgramStringNV", + "GetTrackMatrixivNV", + "GetVertexAttribdvNV", + "GetVertexAttribfvNV", + "GetVertexAttribivNV", + "LoadProgramNV", + "ProgramParameters4dvNV", + "ProgramParameters4fvNV", + "RequestResidentProgramsNV", + "TrackMatrixNV", + "VertexAttribPointerNV", + + # MESA_resize_buffers + "ResizeBuffersMESA", + + # ATI_envmap_bumpmap + "TexBumpParameterfvATI", + "TexBumpParameterivATI", + "GetTexBumpParameterfvATI", + "GetTexBumpParameterivATI", + + # NV_fragment_program + "ProgramNamedParameter4fNV", + "ProgramNamedParameter4dNV", + "ProgramNamedParameter4fvNV", + "ProgramNamedParameter4dvNV", + "GetProgramNamedParameterfvNV", + "GetProgramNamedParameterdvNV", + + # APPLE_flush_buffer_range + "BufferParameteriAPPLE", + "FlushMappedBufferRangeAPPLE", + + # EXT_separate_shader_objects + "UseShaderProgramEXT", + "ActiveProgramEXT", + "CreateShaderProgramEXT", +] -- cgit v1.2.3