functions = [
"Accum",
- "ActiveProgramEXT",
"ActiveTexture",
"ActiveTextureARB",
- "AlphaFragmentOp1ATI",
- "AlphaFragmentOp2ATI",
- "AlphaFragmentOp3ATI",
"AlphaFunc",
"AlphaFuncx",
- "AreProgramsResidentNV",
"AreTexturesResident",
"AreTexturesResidentEXT",
"ArrayElement",
"Begin",
"BeginConditionalRender",
"BeginConditionalRenderNV",
- "BeginFragmentShaderATI",
- "BeginPerfMonitorAMD",
"BeginQuery",
"BeginQueryARB",
"BeginQueryIndexed",
"BeginTransformFeedback",
- "BeginTransformFeedbackEXT",
"BindAttribLocation",
"BindAttribLocationARB",
"BindBuffer",
"BindBufferARB",
"BindBufferBase",
- "BindBufferBaseEXT",
- "BindBufferOffsetEXT",
"BindBufferRange",
- "BindBufferRangeEXT",
"BindBuffersBase",
"BindBuffersRange",
"BindFragDataLocation",
"BindFragDataLocationEXT",
"BindFragDataLocationIndexed",
- "BindFragmentShaderATI",
"BindFramebuffer",
"BindFramebufferEXT",
"BindImageTexture",
"BindImageTextures",
"BindProgramARB",
- "BindProgramNV",
"BindRenderbuffer",
"BindRenderbufferEXT",
"BindSampler",
"BindTexture",
"BindTextureEXT",
"BindTextures",
- "BindTextureUnit",
"BindTransformFeedback",
"BindVertexArray",
"BindVertexBuffer",
"BlendEquation",
"BlendEquationEXT",
"BlendEquationiARB",
- "BlendEquationIndexedAMD",
"BlendEquationSeparate",
"BlendEquationSeparateiARB",
- "BlendEquationSeparateIndexedAMD",
"BlendFunc",
"BlendFunciARB",
- "BlendFuncIndexedAMD",
"BlendFuncSeparate",
"BlendFuncSeparateEXT",
"BlendFuncSeparateiARB",
- "BlendFuncSeparateIndexedAMD",
"BlitFramebuffer",
"BufferData",
"BufferDataARB",
"ClientActiveTexture",
"ClientActiveTextureARB",
"ClientWaitSync",
- "ClipControl",
"ClipPlane",
"ClipPlanef",
"ClipPlanex",
"Color4us",
"Color4usv",
"Color4x",
- "ColorFragmentOp1ATI",
- "ColorFragmentOp2ATI",
- "ColorFragmentOp3ATI",
"ColorMask",
"ColorMaski",
"ColorMaskIndexedEXT",
"ColorPointerEXT",
"ColorSubTable",
"ColorTable",
- "ColorTableEXT",
"ColorTableParameterfv",
"ColorTableParameteriv",
"CompileShader",
"CompressedTexSubImage2DARB",
"CompressedTexSubImage3D",
"CompressedTexSubImage3DARB",
- "CompressedTextureSubImage1D",
- "CompressedTextureSubImage2D",
- "CompressedTextureSubImage3D",
"ConvolutionFilter1D",
"ConvolutionFilter2D",
"ConvolutionParameterf",
"CopyImageSubData",
"CopyPixels",
"CopyTexImage1D",
- "CopyTexImage1DEXT",
"CopyTexImage2D",
- "CopyTexImage2DEXT",
"CopyTexSubImage1D",
- "CopyTexSubImage1DEXT",
"CopyTexSubImage2D",
- "CopyTexSubImage2DEXT",
"CopyTexSubImage3D",
"CopyTexSubImage3DEXT",
- "CopyTextureSubImage1D",
- "CopyTextureSubImage2D",
- "CopyTextureSubImage3D",
"CreateProgram",
"CreateProgramObjectARB",
"CreateShader",
"CreateShaderObjectARB",
- "CreateShaderProgramEXT",
- "CreateTextures",
"CullFace",
"DebugMessageCallback",
"DebugMessageCallbackARB",
"DebugMessageInsertARB",
"DeleteBuffers",
"DeleteBuffersARB",
- "DeleteFragmentShaderATI",
"DeleteFramebuffers",
"DeleteFramebuffersEXT",
"DeleteLists",
"DeleteObjectARB",
- "DeletePerfMonitorsAMD",
"DeleteProgram",
"DeleteProgramsARB",
- "DeleteProgramsNV",
"DeleteQueries",
"DeleteQueriesARB",
"DeleteRenderbuffers",
"EdgeFlagPointer",
"EdgeFlagPointerEXT",
"EdgeFlagv",
- "EGLImageTargetRenderbufferStorageOES",
- "EGLImageTargetTexture2DOES",
"Enable",
"EnableClientState",
"Enablei",
"End",
"EndConditionalRender",
"EndConditionalRenderNV",
- "EndFragmentShaderATI",
"EndList",
- "EndPerfMonitorAMD",
"EndQuery",
"EndQueryARB",
"EndQueryIndexed",
"EndTransformFeedback",
- "EndTransformFeedbackEXT",
"EvalCoord1d",
"EvalCoord1dv",
"EvalCoord1f",
"EvalMesh2",
"EvalPoint1",
"EvalPoint2",
- "ExecuteProgramNV",
"FeedbackBuffer",
"FenceSync",
"Finish",
"GenBuffersARB",
"GenerateMipmap",
"GenerateMipmapEXT",
- "GenerateTextureMipmap",
- "GenFragmentShadersATI",
"GenFramebuffers",
"GenFramebuffersEXT",
"GenLists",
- "GenPerfMonitorsAMD",
"GenProgramsARB",
- "GenProgramsNV",
"GenQueries",
"GenQueriesARB",
"GenRenderbuffers",
"GetClipPlanef",
"GetClipPlanex",
"GetColorTable",
- "GetColorTableEXT",
"GetColorTableParameterfv",
- "GetColorTableParameterfvEXT",
"GetColorTableParameteriv",
- "GetColorTableParameterivEXT",
"GetCompressedTexImage",
"GetCompressedTexImageARB",
- "GetCompressedTextureImage",
"GetConvolutionFilter",
"GetConvolutionParameterfv",
"GetConvolutionParameteriv",
"GetnUniformuivARB",
"GetObjectLabel",
"GetObjectParameterfvARB",
- "GetObjectParameterivAPPLE",
"GetObjectParameterivARB",
"GetObjectPtrLabel",
- "GetPerfMonitorCounterDataAMD",
- "GetPerfMonitorCounterInfoAMD",
- "GetPerfMonitorCountersAMD",
- "GetPerfMonitorCounterStringAMD",
- "GetPerfMonitorGroupsAMD",
- "GetPerfMonitorGroupStringAMD",
"GetPixelMapfv",
"GetPixelMapuiv",
"GetPixelMapusv",
"GetProgramInfoLog",
"GetProgramiv",
"GetProgramivARB",
- "GetProgramivNV",
"GetProgramLocalParameterdvARB",
"GetProgramLocalParameterfvARB",
- "GetProgramNamedParameterdvNV",
- "GetProgramNamedParameterfvNV",
- "GetProgramParameterdvNV",
- "GetProgramParameterfvNV",
"GetProgramStringARB",
- "GetProgramStringNV",
"GetQueryIndexediv",
"GetQueryiv",
"GetQueryivARB",
"GetString",
"GetStringi",
"GetSynciv",
- "GetTexBumpParameterfvATI",
- "GetTexBumpParameterivATI",
"GetTexEnvfv",
"GetTexEnviv",
"GetTexEnvxv",
"GetTexParameterIuivEXT",
"GetTexParameteriv",
"GetTexParameterxv",
- "GetTextureImage",
- "GetTextureLevelParameterfv",
- "GetTextureLevelParameteriv",
- "GetTextureParameterfv",
- "GetTextureParameterIiv",
- "GetTextureParameterIuiv",
- "GetTextureParameteriv",
- "GetTrackMatrixivNV",
"GetTransformFeedbackVarying",
- "GetTransformFeedbackVaryingEXT",
"GetUniformBlockIndex",
"GetUniformfv",
"GetUniformfvARB",
"GetUniformuivEXT",
"GetVertexAttribdv",
"GetVertexAttribdvARB",
- "GetVertexAttribdvNV",
"GetVertexAttribfv",
"GetVertexAttribfvARB",
- "GetVertexAttribfvNV",
"GetVertexAttribIiv",
"GetVertexAttribIivEXT",
"GetVertexAttribIuiv",
"GetVertexAttribIuivEXT",
"GetVertexAttribiv",
"GetVertexAttribivARB",
- "GetVertexAttribivNV",
"GetVertexAttribPointerv",
"GetVertexAttribPointervARB",
- "GetVertexAttribPointervNV",
"Hint",
"Histogram",
"Indexd",
"IsList",
"IsProgram",
"IsProgramARB",
- "IsProgramNV",
"IsQuery",
"IsQueryARB",
"IsRenderbuffer",
"LoadMatrixf",
"LoadMatrixx",
"LoadName",
- "LoadProgramNV",
"LoadTransposeMatrixd",
"LoadTransposeMatrixdARB",
"LoadTransposeMatrixf",
"NormalPointerEXT",
"ObjectLabel",
"ObjectPtrLabel",
- "ObjectPurgeableAPPLE",
- "ObjectUnpurgeableAPPLE",
"Ortho",
"Orthof",
"Orthox",
- "PassTexCoordATI",
"PassThrough",
"PauseTransformFeedback",
"PixelMapfv",
"PointParameterfvARB",
"PointParameterfvEXT",
"PointParameteri",
- "PointParameteriNV",
"PointParameteriv",
- "PointParameterivNV",
"PointParameterx",
"PointParameterxv",
"PointSize",
"PointSizex",
"PolygonMode",
"PolygonOffset",
- "PolygonOffsetClampEXT",
- "PolygonOffsetEXT",
"PolygonOffsetx",
"PolygonStipple",
"PopAttrib",
"ProgramLocalParameter4dvARB",
"ProgramLocalParameter4fARB",
"ProgramLocalParameter4fvARB",
- "ProgramNamedParameter4dNV",
- "ProgramNamedParameter4dvNV",
- "ProgramNamedParameter4fNV",
- "ProgramNamedParameter4fvNV",
- "ProgramParameter4dNV",
- "ProgramParameter4dvNV",
- "ProgramParameter4fNV",
- "ProgramParameter4fvNV",
"ProgramParameteri",
"ProgramParameteriARB",
- "ProgramParameters4dvNV",
- "ProgramParameters4fvNV",
"ProgramStringARB",
"ProvokingVertex",
"ProvokingVertexEXT",
"RenderbufferStorageMultisample",
"RenderbufferStorageMultisampleEXT",
"RenderMode",
- "RequestResidentProgramsNV",
"ResetHistogram",
"ResetMinmax",
- "ResizeBuffersMESA",
"ResumeTransformFeedback",
"Rotated",
"Rotatef",
"SampleCoverage",
"SampleCoverageARB",
"SampleCoveragex",
- "SampleMapATI",
"SampleMaski",
"SamplerParameterf",
"SamplerParameterfv",
"SecondaryColorPointer",
"SecondaryColorPointerEXT",
"SelectBuffer",
- "SelectPerfMonitorCountersAMD",
"SeparableFilter2D",
- "SetFragmentShaderConstantATI",
"ShadeModel",
"ShaderBinary",
"ShaderSource",
"TexBuffer",
"TexBufferARB",
"TexBufferRange",
- "TexBumpParameterfvATI",
- "TexBumpParameterivATI",
"TexCoord1d",
"TexCoord1dv",
"TexCoord1f",
"TexStorage3D",
"TexStorage3DMultisample",
"TexSubImage1D",
- "TexSubImage1DEXT",
"TexSubImage2D",
- "TexSubImage2DEXT",
"TexSubImage3D",
"TexSubImage3DEXT",
- "TextureBarrier",
"TextureBarrierNV",
- "TextureBuffer",
- "TextureParameterf",
- "TextureParameterfv",
- "TextureParameteri",
- "TextureParameterIiv",
- "TextureParameterIuiv",
- "TextureParameteriv",
- "TextureStorage1D",
"TextureStorage1DEXT",
- "TextureStorage2D",
"TextureStorage2DEXT",
- "TextureStorage2DMultisample",
- "TextureStorage3D",
"TextureStorage3DEXT",
- "TextureStorage3DMultisample",
- "TextureSubImage1D",
- "TextureSubImage2D",
- "TextureSubImage3D",
"TextureView",
- "TrackMatrixNV",
"TransformFeedbackVaryings",
- "TransformFeedbackVaryingsEXT",
"Translated",
"Translatef",
"Translatex",
"UnmapBufferARB",
"UseProgram",
"UseProgramObjectARB",
- "UseShaderProgramEXT",
"ValidateProgram",
"ValidateProgramARB",
- "VDPAUFiniNV",
- "VDPAUGetSurfaceivNV",
- "VDPAUInitNV",
- "VDPAUIsSurfaceNV",
- "VDPAUMapSurfacesNV",
- "VDPAURegisterOutputSurfaceNV",
- "VDPAURegisterVideoSurfaceNV",
- "VDPAUSurfaceAccessNV",
- "VDPAUUnmapSurfacesNV",
- "VDPAUUnregisterSurfaceNV",
"Vertex2d",
"Vertex2dv",
"Vertex2f",
"Vertex4sv",
"VertexAttrib1d",
"VertexAttrib1dARB",
- "VertexAttrib1dNV",
"VertexAttrib1dv",
"VertexAttrib1dvARB",
- "VertexAttrib1dvNV",
"VertexAttrib1f",
"VertexAttrib1fARB",
- "VertexAttrib1fNV",
"VertexAttrib1fv",
"VertexAttrib1fvARB",
- "VertexAttrib1fvNV",
"VertexAttrib1s",
"VertexAttrib1sARB",
- "VertexAttrib1sNV",
"VertexAttrib1sv",
"VertexAttrib1svARB",
- "VertexAttrib1svNV",
"VertexAttrib2d",
"VertexAttrib2dARB",
- "VertexAttrib2dNV",
"VertexAttrib2dv",
"VertexAttrib2dvARB",
- "VertexAttrib2dvNV",
"VertexAttrib2f",
"VertexAttrib2fARB",
- "VertexAttrib2fNV",
"VertexAttrib2fv",
"VertexAttrib2fvARB",
- "VertexAttrib2fvNV",
"VertexAttrib2s",
"VertexAttrib2sARB",
- "VertexAttrib2sNV",
"VertexAttrib2sv",
"VertexAttrib2svARB",
- "VertexAttrib2svNV",
"VertexAttrib3d",
"VertexAttrib3dARB",
- "VertexAttrib3dNV",
"VertexAttrib3dv",
"VertexAttrib3dvARB",
- "VertexAttrib3dvNV",
"VertexAttrib3f",
"VertexAttrib3fARB",
- "VertexAttrib3fNV",
"VertexAttrib3fv",
"VertexAttrib3fvARB",
- "VertexAttrib3fvNV",
"VertexAttrib3s",
"VertexAttrib3sARB",
- "VertexAttrib3sNV",
"VertexAttrib3sv",
"VertexAttrib3svARB",
- "VertexAttrib3svNV",
"VertexAttrib4bv",
"VertexAttrib4bvARB",
"VertexAttrib4d",
"VertexAttrib4dARB",
- "VertexAttrib4dNV",
"VertexAttrib4dv",
"VertexAttrib4dvARB",
- "VertexAttrib4dvNV",
"VertexAttrib4f",
"VertexAttrib4fARB",
- "VertexAttrib4fNV",
"VertexAttrib4fv",
"VertexAttrib4fvARB",
- "VertexAttrib4fvNV",
"VertexAttrib4iv",
"VertexAttrib4ivARB",
"VertexAttrib4Nbv",
"VertexAttrib4NusvARB",
"VertexAttrib4s",
"VertexAttrib4sARB",
- "VertexAttrib4sNV",
"VertexAttrib4sv",
"VertexAttrib4svARB",
- "VertexAttrib4svNV",
- "VertexAttrib4ubNV",
"VertexAttrib4ubv",
"VertexAttrib4ubvARB",
- "VertexAttrib4ubvNV",
"VertexAttrib4uiv",
"VertexAttrib4uivARB",
"VertexAttrib4usv",
"VertexAttribP4uiv",
"VertexAttribPointer",
"VertexAttribPointerARB",
- "VertexAttribPointerNV",
- "VertexAttribs1dvNV",
- "VertexAttribs1fvNV",
- "VertexAttribs1svNV",
- "VertexAttribs2dvNV",
- "VertexAttribs2fvNV",
- "VertexAttribs2svNV",
- "VertexAttribs3dvNV",
- "VertexAttribs3fvNV",
- "VertexAttribs3svNV",
- "VertexAttribs4dvNV",
- "VertexAttribs4fvNV",
- "VertexAttribs4svNV",
- "VertexAttribs4ubvNV",
"VertexBindingDivisor",
"VertexP2ui",
"VertexP2uiv",
"WaitSync",
"WindowPos2d",
"WindowPos2dARB",
- "WindowPos2dMESA",
"WindowPos2dv",
"WindowPos2dvARB",
- "WindowPos2dvMESA",
"WindowPos2f",
"WindowPos2fARB",
- "WindowPos2fMESA",
"WindowPos2fv",
"WindowPos2fvARB",
- "WindowPos2fvMESA",
"WindowPos2i",
"WindowPos2iARB",
- "WindowPos2iMESA",
"WindowPos2iv",
"WindowPos2ivARB",
- "WindowPos2ivMESA",
"WindowPos2s",
"WindowPos2sARB",
- "WindowPos2sMESA",
"WindowPos2sv",
"WindowPos2svARB",
- "WindowPos2svMESA",
"WindowPos3d",
"WindowPos3dARB",
- "WindowPos3dMESA",
"WindowPos3dv",
"WindowPos3dvARB",
- "WindowPos3dvMESA",
"WindowPos3f",
"WindowPos3fARB",
- "WindowPos3fMESA",
"WindowPos3fv",
"WindowPos3fvARB",
- "WindowPos3fvMESA",
"WindowPos3i",
"WindowPos3iARB",
- "WindowPos3iMESA",
"WindowPos3iv",
"WindowPos3ivARB",
- "WindowPos3ivMESA",
"WindowPos3s",
"WindowPos3sARB",
- "WindowPos3sMESA",
"WindowPos3sv",
"WindowPos3svARB",
- "WindowPos3svMESA",
- "WindowPos4dMESA",
- "WindowPos4dvMESA",
- "WindowPos4fMESA",
- "WindowPos4fvMESA",
- "WindowPos4iMESA",
- "WindowPos4ivMESA",
- "WindowPos4sMESA",
- "WindowPos4svMESA",
+]
+
+"""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",
]