From: Ian Romanick Date: Fri, 17 Jun 2016 02:51:15 +0000 (-0700) Subject: mapi: Export all GLES 3.1 functions in libGLESv2.so X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5921f372c89a68fac6ddefc009442721d9df4db2;p=mesa.git mapi: Export all GLES 3.1 functions in libGLESv2.so Khronos recommends that the GLES 3.1 library also be called libGLESv2. It also requires that functions be statically linkable from that library. NOTE: Mesa has supported the EGL_KHR_get_all_proc_addresses extension since at least Mesa 10.5, so applications targeting Linux should use eglGetProcAddress to avoid problems running binaries on systems with older, non-GLES 3.1 libGLESv2 libraries. Signed-off-by: Ian Romanick Cc: "11.2 12.0" Cc: Mike Gorchak Reported-by: Mike Gorchak Acked-by: Chad Versace --- diff --git a/src/mapi/glapi/gen/static_data.py b/src/mapi/glapi/gen/static_data.py index 142c503b0c5..b25dab15ad7 100644 --- a/src/mapi/glapi/gen/static_data.py +++ b/src/mapi/glapi/gen/static_data.py @@ -437,6 +437,7 @@ offsets = { functions = [ "Accum", + "ActiveShaderProgram", "ActiveTexture", "ActiveTextureARB", "AlphaFunc", @@ -470,6 +471,7 @@ functions = [ "BindImageTexture", "BindImageTextures", "BindProgramARB", + "BindProgramPipeline", "BindRenderbuffer", "BindRenderbufferEXT", "BindSampler", @@ -615,6 +617,7 @@ functions = [ "CreateProgramObjectARB", "CreateShader", "CreateShaderObjectARB", + "CreateShaderProgramv", "CullFace", "DebugMessageCallback", "DebugMessageCallbackARB", @@ -629,6 +632,7 @@ functions = [ "DeleteLists", "DeleteObjectARB", "DeleteProgram", + "DeleteProgramPipelines", "DeleteProgramsARB", "DeleteQueries", "DeleteQueriesARB", @@ -737,6 +741,7 @@ functions = [ "Fogiv", "Fogx", "Fogxv", + "FramebufferParameteri", "FramebufferRenderbuffer", "FramebufferRenderbufferEXT", "FramebufferTexture", @@ -761,6 +766,7 @@ functions = [ "GenFramebuffers", "GenFramebuffersEXT", "GenLists", + "GenProgramPipelines", "GenProgramsARB", "GenQueries", "GenQueriesARB", @@ -818,6 +824,7 @@ functions = [ "GetFragDataLocationEXT", "GetFramebufferAttachmentParameteriv", "GetFramebufferAttachmentParameterivEXT", + "GetFramebufferParameteriv", "GetGraphicsResetStatusARB", "GetHandleARB", "GetHistogram", @@ -874,10 +881,17 @@ functions = [ "GetProgramEnvParameterdvARB", "GetProgramEnvParameterfvARB", "GetProgramInfoLog", + "GetProgramInterfaceiv", "GetProgramiv", "GetProgramivARB", "GetProgramLocalParameterdvARB", "GetProgramLocalParameterfvARB", + "GetProgramPipelineInfoLog", + "GetProgramPipelineiv", + "GetProgramResourceIndex", + "GetProgramResourceiv", + "GetProgramResourceLocation", + "GetProgramResourceName", "GetProgramStringARB", "GetQueryIndexediv", "GetQueryiv", @@ -973,6 +987,7 @@ functions = [ "IsList", "IsProgram", "IsProgramARB", + "IsProgramPipeline", "IsQuery", "IsQueryARB", "IsRenderbuffer", @@ -1032,6 +1047,7 @@ functions = [ "Materialxv", "MatrixMode", "MemoryBarrier", + "MemoryBarrierByRegion", "Minmax", "MinSampleShading", "MinSampleShadingARB", @@ -1192,6 +1208,39 @@ functions = [ "ProgramParameteri", "ProgramParameteriARB", "ProgramStringARB", + "ProgramUniform1f", + "ProgramUniform1fv", + "ProgramUniform1i", + "ProgramUniform1iv", + "ProgramUniform1ui", + "ProgramUniform1uiv", + "ProgramUniform2f", + "ProgramUniform2fv", + "ProgramUniform2i", + "ProgramUniform2iv", + "ProgramUniform2ui", + "ProgramUniform2uiv", + "ProgramUniform3f", + "ProgramUniform3fv", + "ProgramUniform3i", + "ProgramUniform3iv", + "ProgramUniform3ui", + "ProgramUniform3uiv", + "ProgramUniform4f", + "ProgramUniform4fv", + "ProgramUniform4i", + "ProgramUniform4iv", + "ProgramUniform4ui", + "ProgramUniform4uiv", + "ProgramUniformMatrix2fv", + "ProgramUniformMatrix2x3fv", + "ProgramUniformMatrix2x4fv", + "ProgramUniformMatrix3fv", + "ProgramUniformMatrix3x2fv", + "ProgramUniformMatrix3x4fv", + "ProgramUniformMatrix4fv", + "ProgramUniformMatrix4x2fv", + "ProgramUniformMatrix4x3fv", "ProvokingVertex", "ProvokingVertexEXT", "PushAttrib", @@ -1468,8 +1517,10 @@ functions = [ "UnmapBufferARB", "UseProgram", "UseProgramObjectARB", + "UseProgramStages", "ValidateProgram", "ValidateProgramARB", + "ValidateProgramPipeline", "Vertex2d", "Vertex2dv", "Vertex2f",