mapi: Export all GLES 3.1 functions in libGLESv2.so
authorIan Romanick <ian.d.romanick@intel.com>
Fri, 17 Jun 2016 02:51:15 +0000 (19:51 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Wed, 29 Jun 2016 21:28:59 +0000 (14:28 -0700)
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 <ian.d.romanick@intel.com>
Cc: "11.2 12.0" <mesa-stable@lists.freedesktop.org>
Cc: Mike Gorchak <mike.gorchak.qnx@gmail.com>
Reported-by: Mike Gorchak <mike.gorchak.qnx@gmail.com>
Acked-by: Chad Versace <chad.versace@intel.com>
src/mapi/glapi/gen/static_data.py

index 142c503b0c5271dbb874dea066ed3411ca114cc1..b25dab15ad7366ca6d9b826032f249c9c8c911f4 100644 (file)
@@ -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",