gles/es3.1: Enable dispatch of almost all new GLES 3.1 functions
[mesa.git] / src / mapi / glapi / gen / static_data.py
index b3cddc23386576f81d6c1102a5520861ba3c3afa..142c503b0c5271dbb874dea066ed3411ca114cc1 100644 (file)
@@ -437,15 +437,10 @@ offsets = {
 
 functions = [
    "Accum",
-   "ActiveProgramEXT",
    "ActiveTexture",
    "ActiveTextureARB",
-   "AlphaFragmentOp1ATI",
-   "AlphaFragmentOp2ATI",
-   "AlphaFragmentOp3ATI",
    "AlphaFunc",
    "AlphaFuncx",
-   "AreProgramsResidentNV",
    "AreTexturesResident",
    "AreTexturesResidentEXT",
    "ArrayElement",
@@ -455,34 +450,26 @@ functions = [
    "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",
@@ -490,7 +477,6 @@ functions = [
    "BindTexture",
    "BindTextureEXT",
    "BindTextures",
-   "BindTextureUnit",
    "BindTransformFeedback",
    "BindVertexArray",
    "BindVertexBuffer",
@@ -501,17 +487,13 @@ functions = [
    "BlendEquation",
    "BlendEquationEXT",
    "BlendEquationiARB",
-   "BlendEquationIndexedAMD",
    "BlendEquationSeparate",
    "BlendEquationSeparateiARB",
-   "BlendEquationSeparateIndexedAMD",
    "BlendFunc",
    "BlendFunciARB",
-   "BlendFuncIndexedAMD",
    "BlendFuncSeparate",
    "BlendFuncSeparateEXT",
    "BlendFuncSeparateiARB",
-   "BlendFuncSeparateIndexedAMD",
    "BlitFramebuffer",
    "BufferData",
    "BufferDataARB",
@@ -546,7 +528,6 @@ functions = [
    "ClientActiveTexture",
    "ClientActiveTextureARB",
    "ClientWaitSync",
-   "ClipControl",
    "ClipPlane",
    "ClipPlanef",
    "ClipPlanex",
@@ -583,9 +564,6 @@ functions = [
    "Color4us",
    "Color4usv",
    "Color4x",
-   "ColorFragmentOp1ATI",
-   "ColorFragmentOp2ATI",
-   "ColorFragmentOp3ATI",
    "ColorMask",
    "ColorMaski",
    "ColorMaskIndexedEXT",
@@ -598,7 +576,6 @@ functions = [
    "ColorPointerEXT",
    "ColorSubTable",
    "ColorTable",
-   "ColorTableEXT",
    "ColorTableParameterfv",
    "ColorTableParameteriv",
    "CompileShader",
@@ -615,9 +592,6 @@ functions = [
    "CompressedTexSubImage2DARB",
    "CompressedTexSubImage3D",
    "CompressedTexSubImage3DARB",
-   "CompressedTextureSubImage1D",
-   "CompressedTextureSubImage2D",
-   "CompressedTextureSubImage3D",
    "ConvolutionFilter1D",
    "ConvolutionFilter2D",
    "ConvolutionParameterf",
@@ -632,24 +606,15 @@ functions = [
    "CopyImageSubData",
    "CopyPixels",
    "CopyTexImage1D",
-   "CopyTexImage1DEXT",
    "CopyTexImage2D",
-   "CopyTexImage2DEXT",
    "CopyTexSubImage1D",
-   "CopyTexSubImage1DEXT",
    "CopyTexSubImage2D",
-   "CopyTexSubImage2DEXT",
    "CopyTexSubImage3D",
    "CopyTexSubImage3DEXT",
-   "CopyTextureSubImage1D",
-   "CopyTextureSubImage2D",
-   "CopyTextureSubImage3D",
    "CreateProgram",
    "CreateProgramObjectARB",
    "CreateShader",
    "CreateShaderObjectARB",
-   "CreateShaderProgramEXT",
-   "CreateTextures",
    "CullFace",
    "DebugMessageCallback",
    "DebugMessageCallbackARB",
@@ -659,15 +624,12 @@ functions = [
    "DebugMessageInsertARB",
    "DeleteBuffers",
    "DeleteBuffersARB",
-   "DeleteFragmentShaderATI",
    "DeleteFramebuffers",
    "DeleteFramebuffersEXT",
    "DeleteLists",
    "DeleteObjectARB",
-   "DeletePerfMonitorsAMD",
    "DeleteProgram",
    "DeleteProgramsARB",
-   "DeleteProgramsNV",
    "DeleteQueries",
    "DeleteQueriesARB",
    "DeleteRenderbuffers",
@@ -728,8 +690,6 @@ functions = [
    "EdgeFlagPointer",
    "EdgeFlagPointerEXT",
    "EdgeFlagv",
-   "EGLImageTargetRenderbufferStorageOES",
-   "EGLImageTargetTexture2DOES",
    "Enable",
    "EnableClientState",
    "Enablei",
@@ -739,14 +699,11 @@ functions = [
    "End",
    "EndConditionalRender",
    "EndConditionalRenderNV",
-   "EndFragmentShaderATI",
    "EndList",
-   "EndPerfMonitorAMD",
    "EndQuery",
    "EndQueryARB",
    "EndQueryIndexed",
    "EndTransformFeedback",
-   "EndTransformFeedbackEXT",
    "EvalCoord1d",
    "EvalCoord1dv",
    "EvalCoord1f",
@@ -759,7 +716,6 @@ functions = [
    "EvalMesh2",
    "EvalPoint1",
    "EvalPoint2",
-   "ExecuteProgramNV",
    "FeedbackBuffer",
    "FenceSync",
    "Finish",
@@ -802,14 +758,10 @@ functions = [
    "GenBuffersARB",
    "GenerateMipmap",
    "GenerateMipmapEXT",
-   "GenerateTextureMipmap",
-   "GenFragmentShadersATI",
    "GenFramebuffers",
    "GenFramebuffersEXT",
    "GenLists",
-   "GenPerfMonitorsAMD",
    "GenProgramsARB",
-   "GenProgramsNV",
    "GenQueries",
    "GenQueriesARB",
    "GenRenderbuffers",
@@ -846,14 +798,10 @@ functions = [
    "GetClipPlanef",
    "GetClipPlanex",
    "GetColorTable",
-   "GetColorTableEXT",
    "GetColorTableParameterfv",
-   "GetColorTableParameterfvEXT",
    "GetColorTableParameteriv",
-   "GetColorTableParameterivEXT",
    "GetCompressedTexImage",
    "GetCompressedTexImageARB",
-   "GetCompressedTextureImage",
    "GetConvolutionFilter",
    "GetConvolutionParameterfv",
    "GetConvolutionParameteriv",
@@ -914,15 +862,8 @@ functions = [
    "GetnUniformuivARB",
    "GetObjectLabel",
    "GetObjectParameterfvARB",
-   "GetObjectParameterivAPPLE",
    "GetObjectParameterivARB",
    "GetObjectPtrLabel",
-   "GetPerfMonitorCounterDataAMD",
-   "GetPerfMonitorCounterInfoAMD",
-   "GetPerfMonitorCountersAMD",
-   "GetPerfMonitorCounterStringAMD",
-   "GetPerfMonitorGroupsAMD",
-   "GetPerfMonitorGroupStringAMD",
    "GetPixelMapfv",
    "GetPixelMapuiv",
    "GetPixelMapusv",
@@ -935,15 +876,9 @@ functions = [
    "GetProgramInfoLog",
    "GetProgramiv",
    "GetProgramivARB",
-   "GetProgramivNV",
    "GetProgramLocalParameterdvARB",
    "GetProgramLocalParameterfvARB",
-   "GetProgramNamedParameterdvNV",
-   "GetProgramNamedParameterfvNV",
-   "GetProgramParameterdvNV",
-   "GetProgramParameterfvNV",
    "GetProgramStringARB",
-   "GetProgramStringNV",
    "GetQueryIndexediv",
    "GetQueryiv",
    "GetQueryivARB",
@@ -966,8 +901,6 @@ functions = [
    "GetString",
    "GetStringi",
    "GetSynciv",
-   "GetTexBumpParameterfvATI",
-   "GetTexBumpParameterivATI",
    "GetTexEnvfv",
    "GetTexEnviv",
    "GetTexEnvxv",
@@ -984,16 +917,7 @@ functions = [
    "GetTexParameterIuivEXT",
    "GetTexParameteriv",
    "GetTexParameterxv",
-   "GetTextureImage",
-   "GetTextureLevelParameterfv",
-   "GetTextureLevelParameteriv",
-   "GetTextureParameterfv",
-   "GetTextureParameterIiv",
-   "GetTextureParameterIuiv",
-   "GetTextureParameteriv",
-   "GetTrackMatrixivNV",
    "GetTransformFeedbackVarying",
-   "GetTransformFeedbackVaryingEXT",
    "GetUniformBlockIndex",
    "GetUniformfv",
    "GetUniformfvARB",
@@ -1006,20 +930,16 @@ functions = [
    "GetUniformuivEXT",
    "GetVertexAttribdv",
    "GetVertexAttribdvARB",
-   "GetVertexAttribdvNV",
    "GetVertexAttribfv",
    "GetVertexAttribfvARB",
-   "GetVertexAttribfvNV",
    "GetVertexAttribIiv",
    "GetVertexAttribIivEXT",
    "GetVertexAttribIuiv",
    "GetVertexAttribIuivEXT",
    "GetVertexAttribiv",
    "GetVertexAttribivARB",
-   "GetVertexAttribivNV",
    "GetVertexAttribPointerv",
    "GetVertexAttribPointervARB",
-   "GetVertexAttribPointervNV",
    "Hint",
    "Histogram",
    "Indexd",
@@ -1053,7 +973,6 @@ functions = [
    "IsList",
    "IsProgram",
    "IsProgramARB",
-   "IsProgramNV",
    "IsQuery",
    "IsQueryARB",
    "IsRenderbuffer",
@@ -1088,7 +1007,6 @@ functions = [
    "LoadMatrixf",
    "LoadMatrixx",
    "LoadName",
-   "LoadProgramNV",
    "LoadTransposeMatrixd",
    "LoadTransposeMatrixdARB",
    "LoadTransposeMatrixf",
@@ -1222,12 +1140,9 @@ functions = [
    "NormalPointerEXT",
    "ObjectLabel",
    "ObjectPtrLabel",
-   "ObjectPurgeableAPPLE",
-   "ObjectUnpurgeableAPPLE",
    "Ortho",
    "Orthof",
    "Orthox",
-   "PassTexCoordATI",
    "PassThrough",
    "PauseTransformFeedback",
    "PixelMapfv",
@@ -1245,9 +1160,7 @@ functions = [
    "PointParameterfvARB",
    "PointParameterfvEXT",
    "PointParameteri",
-   "PointParameteriNV",
    "PointParameteriv",
-   "PointParameterivNV",
    "PointParameterx",
    "PointParameterxv",
    "PointSize",
@@ -1255,8 +1168,6 @@ functions = [
    "PointSizex",
    "PolygonMode",
    "PolygonOffset",
-   "PolygonOffsetClampEXT",
-   "PolygonOffsetEXT",
    "PolygonOffsetx",
    "PolygonStipple",
    "PopAttrib",
@@ -1278,18 +1189,8 @@ functions = [
    "ProgramLocalParameter4dvARB",
    "ProgramLocalParameter4fARB",
    "ProgramLocalParameter4fvARB",
-   "ProgramNamedParameter4dNV",
-   "ProgramNamedParameter4dvNV",
-   "ProgramNamedParameter4fNV",
-   "ProgramNamedParameter4fvNV",
-   "ProgramParameter4dNV",
-   "ProgramParameter4dvNV",
-   "ProgramParameter4fNV",
-   "ProgramParameter4fvNV",
    "ProgramParameteri",
    "ProgramParameteriARB",
-   "ProgramParameters4dvNV",
-   "ProgramParameters4fvNV",
    "ProgramStringARB",
    "ProvokingVertex",
    "ProvokingVertexEXT",
@@ -1339,10 +1240,8 @@ functions = [
    "RenderbufferStorageMultisample",
    "RenderbufferStorageMultisampleEXT",
    "RenderMode",
-   "RequestResidentProgramsNV",
    "ResetHistogram",
    "ResetMinmax",
-   "ResizeBuffersMESA",
    "ResumeTransformFeedback",
    "Rotated",
    "Rotatef",
@@ -1350,7 +1249,6 @@ functions = [
    "SampleCoverage",
    "SampleCoverageARB",
    "SampleCoveragex",
-   "SampleMapATI",
    "SampleMaski",
    "SamplerParameterf",
    "SamplerParameterfv",
@@ -1402,9 +1300,7 @@ functions = [
    "SecondaryColorPointer",
    "SecondaryColorPointerEXT",
    "SelectBuffer",
-   "SelectPerfMonitorCountersAMD",
    "SeparableFilter2D",
-   "SetFragmentShaderConstantATI",
    "ShadeModel",
    "ShaderBinary",
    "ShaderSource",
@@ -1418,8 +1314,6 @@ functions = [
    "TexBuffer",
    "TexBufferARB",
    "TexBufferRange",
-   "TexBumpParameterfvATI",
-   "TexBumpParameterivATI",
    "TexCoord1d",
    "TexCoord1dv",
    "TexCoord1f",
@@ -1496,35 +1390,15 @@ functions = [
    "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",
@@ -1594,19 +1468,8 @@ functions = [
    "UnmapBufferARB",
    "UseProgram",
    "UseProgramObjectARB",
-   "UseShaderProgramEXT",
    "ValidateProgram",
    "ValidateProgramARB",
-   "VDPAUFiniNV",
-   "VDPAUGetSurfaceivNV",
-   "VDPAUInitNV",
-   "VDPAUIsSurfaceNV",
-   "VDPAUMapSurfacesNV",
-   "VDPAURegisterOutputSurfaceNV",
-   "VDPAURegisterVideoSurfaceNV",
-   "VDPAUSurfaceAccessNV",
-   "VDPAUUnmapSurfacesNV",
-   "VDPAUUnregisterSurfaceNV",
    "Vertex2d",
    "Vertex2dv",
    "Vertex2f",
@@ -1633,72 +1496,50 @@ functions = [
    "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",
@@ -1717,14 +1558,10 @@ functions = [
    "VertexAttrib4NusvARB",
    "VertexAttrib4s",
    "VertexAttrib4sARB",
-   "VertexAttrib4sNV",
    "VertexAttrib4sv",
    "VertexAttrib4svARB",
-   "VertexAttrib4svNV",
-   "VertexAttrib4ubNV",
    "VertexAttrib4ubv",
    "VertexAttrib4ubvARB",
-   "VertexAttrib4ubvNV",
    "VertexAttrib4uiv",
    "VertexAttrib4uivARB",
    "VertexAttrib4usv",
@@ -1787,20 +1624,6 @@ functions = [
    "VertexAttribP4uiv",
    "VertexAttribPointer",
    "VertexAttribPointerARB",
-   "VertexAttribPointerNV",
-   "VertexAttribs1dvNV",
-   "VertexAttribs1fvNV",
-   "VertexAttribs1svNV",
-   "VertexAttribs2dvNV",
-   "VertexAttribs2fvNV",
-   "VertexAttribs2svNV",
-   "VertexAttribs3dvNV",
-   "VertexAttribs3fvNV",
-   "VertexAttribs3svNV",
-   "VertexAttribs4dvNV",
-   "VertexAttribs4fvNV",
-   "VertexAttribs4svNV",
-   "VertexAttribs4ubvNV",
    "VertexBindingDivisor",
    "VertexP2ui",
    "VertexP2uiv",
@@ -1817,58 +1640,90 @@ functions = [
    "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",
 ]