summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Romanick <ian.d.romanick@intel.com>2016-06-16 19:51:15 -0700
committerIan Romanick <ian.d.romanick@intel.com>2016-06-29 14:28:59 -0700
commit5921f372c89a68fac6ddefc009442721d9df4db2 (patch)
tree6bc9b9d917ebf010574b8c0c7ac64eb2f4633c6f
parentd3a147ba401c9a493ddfe4538909dc7a0ef506ef (diff)
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 <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>
-rw-r--r--src/mapi/glapi/gen/static_data.py51
1 files changed, 51 insertions, 0 deletions
diff --git a/src/mapi/glapi/gen/static_data.py b/src/mapi/glapi/gen/static_data.py
index 142c503b0c..b25dab15ad 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",