summaryrefslogtreecommitdiffstats
path: root/src/mapi
diff options
context:
space:
mode:
authorIlia Mirkin <imirkin@alum.mit.edu>2016-09-16 13:38:36 -0400
committerIlia Mirkin <imirkin@alum.mit.edu>2016-09-22 20:42:30 -0400
commit411a72d4a2eb69e45701c5e19049f6c543a78f24 (patch)
tree5283ec0bd5db29475253904da2193f6d31547156 /src/mapi
parente66a2b879b73bf48800fec7353dafe8fc693ecdb (diff)
downloadexternal_mesa3d-411a72d4a2eb69e45701c5e19049f6c543a78f24.zip
external_mesa3d-411a72d4a2eb69e45701c5e19049f6c543a78f24.tar.gz
external_mesa3d-411a72d4a2eb69e45701c5e19049f6c543a78f24.tar.bz2
mesa: add new entrypoints for GL_OES_viewport_array
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
Diffstat (limited to 'src/mapi')
-rw-r--r--src/mapi/glapi/gen/apiexec.py12
-rw-r--r--src/mapi/glapi/gen/es_EXT.xml50
2 files changed, 56 insertions, 6 deletions
diff --git a/src/mapi/glapi/gen/apiexec.py b/src/mapi/glapi/gen/apiexec.py
index b4f4cf6..4bdc95d 100644
--- a/src/mapi/glapi/gen/apiexec.py
+++ b/src/mapi/glapi/gen/apiexec.py
@@ -133,12 +133,12 @@ functions = {
#
# Mesa does not support either of the geometry shader extensions, so
# OpenGL 3.2 is required.
- "ViewportArrayv": exec_info(core=32),
- "ViewportIndexedf": exec_info(core=32),
- "ViewportIndexedfv": exec_info(core=32),
- "ScissorArrayv": exec_info(core=32),
- "ScissorIndexed": exec_info(core=32),
- "ScissorIndexedv": exec_info(core=32),
+ "ViewportArrayv": exec_info(core=32, es2=31),
+ "ViewportIndexedf": exec_info(core=32, es2=31),
+ "ViewportIndexedfv": exec_info(core=32, es2=31),
+ "ScissorArrayv": exec_info(core=32, es2=31),
+ "ScissorIndexed": exec_info(core=32, es2=31),
+ "ScissorIndexedv": exec_info(core=32, es2=31),
"DepthRangeArrayv": exec_info(core=32),
"DepthRangeIndexed": exec_info(core=32),
# GetFloati_v also GL_ARB_shader_atomic_counters
diff --git a/src/mapi/glapi/gen/es_EXT.xml b/src/mapi/glapi/gen/es_EXT.xml
index 332dc5e..3e705eb 100644
--- a/src/mapi/glapi/gen/es_EXT.xml
+++ b/src/mapi/glapi/gen/es_EXT.xml
@@ -1342,4 +1342,54 @@
</category>
+<category name="GL_OES_viewport_array" number="267">
+ <function name="ViewportArrayvOES" es2="3.1" alias="ViewportArrayv">
+ <param name="first" type="GLuint"/>
+ <param name="count" type="GLsizei"/>
+ <param name="v" type="const GLfloat *"/>
+ </function>
+ <function name="ViewportIndexedfOES" es2="3.1" alias="ViewportIndexedf">
+ <param name="index" type="GLuint"/>
+ <param name="x" type="GLfloat"/>
+ <param name="y" type="GLfloat"/>
+ <param name="w" type="GLfloat"/>
+ <param name="h" type="GLfloat"/>
+ </function>
+ <function name="ViewportIndexedfvOES" es2="3.1" alias="ViewportIndexedfv">
+ <param name="index" type="GLuint"/>
+ <param name="v" type="const GLfloat *"/>
+ </function>
+ <function name="ScissorArrayvOES" es2="3.1" alias="ScissorArrayv">
+ <param name="first" type="GLuint"/>
+ <param name="count" type="GLsizei"/>
+ <param name="v" type="const int *"/>
+ </function>
+ <function name="ScissorIndexedOES" es2="3.1" alias="ScissorIndexed">
+ <param name="index" type="GLuint"/>
+ <param name="left" type="GLint"/>
+ <param name="bottom" type="GLint"/>
+ <param name="width" type="GLsizei"/>
+ <param name="height" type="GLsizei"/>
+ </function>
+ <function name="ScissorIndexedvOES" es2="3.1" alias="ScissorIndexedv">
+ <param name="index" type="GLuint"/>
+ <param name="v" type="const GLint *"/>
+ </function>
+ <function name="DepthRangeArrayfvOES" es2="3.1" desktop="false">
+ <param name="first" type="GLuint"/>
+ <param name="count" type="GLsizei"/>
+ <param name="v" type="const GLfloat *"/>
+ </function>
+ <function name="DepthRangeIndexedfOES" es2="3.1" desktop="false">
+ <param name="index" type="GLuint"/>
+ <param name="n" type="GLfloat"/>
+ <param name="f" type="GLfloat"/>
+ </function>
+ <function name="GetFloati_vOES" es2="3.1" alias="GetFloati_v">
+ <param name="target" type="GLenum"/>
+ <param name="index" type="GLuint"/>
+ <param name="data" type="GLfloat *"/>
+ </function>
+</category>
+
</OpenGLAPI>