diff options
author | Ilia Mirkin <[email protected]> | 2016-05-30 11:49:26 -0400 |
---|---|---|
committer | Ilia Mirkin <[email protected]> | 2016-08-30 20:25:15 -0400 |
commit | 3b81c998a214a2ad7a4a712577277b1fc7b9be4e (patch) | |
tree | 2dd9e9b67b64dbc41b8c62ccd3ee567616f06dc5 /src/mapi/glapi | |
parent | 5ce0969df2a47cef90cd10d6d95c448d41bc02d5 (diff) |
mesa: add scaffolding for OES/EXT_primitive_bounding_box
Signed-off-by: Ilia Mirkin <[email protected]>
Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/mapi/glapi')
-rw-r--r-- | src/mapi/glapi/gen/es_EXT.xml | 49 | ||||
-rw-r--r-- | src/mapi/glapi/gen/gl_genexec.py | 1 |
2 files changed, 50 insertions, 0 deletions
diff --git a/src/mapi/glapi/gen/es_EXT.xml b/src/mapi/glapi/gen/es_EXT.xml index 6f2d6431fcd..b9fbec40cab 100644 --- a/src/mapi/glapi/gen/es_EXT.xml +++ b/src/mapi/glapi/gen/es_EXT.xml @@ -939,6 +939,21 @@ </category> +<category name="GL_EXT_primitive_bounding_box" number="187"> + + <function name="PrimitiveBoundingBoxEXT" es2="3.1" alias="PrimitiveBoundingBox"> + <param name="minX" type="GLfloat"/> + <param name="minY" type="GLfloat"/> + <param name="minZ" type="GLfloat"/> + <param name="minW" type="GLfloat"/> + <param name="maxX" type="GLfloat"/> + <param name="maxY" type="GLfloat"/> + <param name="maxZ" type="GLfloat"/> + <param name="maxW" type="GLfloat"/> + </function> + +</category> + <xi:include href="KHR_robustness_es.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/> <category name="GL_EXT_base_instance" number="203"> @@ -1094,6 +1109,21 @@ </category> +<category name="GL_EXT_primitive_bounding_box" number="212"> + + <function name="PrimitiveBoundingBoxOES" es2="3.1" alias="PrimitiveBoundingBox"> + <param name="minX" type="GLfloat"/> + <param name="minY" type="GLfloat"/> + <param name="minZ" type="GLfloat"/> + <param name="minW" type="GLfloat"/> + <param name="maxX" type="GLfloat"/> + <param name="maxY" type="GLfloat"/> + <param name="maxZ" type="GLfloat"/> + <param name="maxW" type="GLfloat"/> + </function> + +</category> + <category name="GL_OES_texture_buffer" number="216"> <function name="TexBufferOES" es2="3.1" alias="TexBuffer"> @@ -1312,4 +1342,23 @@ </category> +<category name="ES3.2"> + + <!-- TODO: Move to GL 4.x when it is added to a GL version --> + <enum name="PRIMITIVE_BOUNDING_BOX_ARB" count="8" value="0x92BE"> + <size name="Get" mode="get"/> + </enum> + <function name="PrimitiveBoundingBox" es2="3.2" desktop="false"> + <param name="minX" type="GLfloat"/> + <param name="minY" type="GLfloat"/> + <param name="minZ" type="GLfloat"/> + <param name="minW" type="GLfloat"/> + <param name="maxX" type="GLfloat"/> + <param name="maxY" type="GLfloat"/> + <param name="maxZ" type="GLfloat"/> + <param name="maxW" type="GLfloat"/> + </function> + +</category> + </OpenGLAPI> diff --git a/src/mapi/glapi/gen/gl_genexec.py b/src/mapi/glapi/gen/gl_genexec.py index 85e79900988..183e6ff7414 100644 --- a/src/mapi/glapi/gen/gl_genexec.py +++ b/src/mapi/glapi/gen/gl_genexec.py @@ -56,6 +56,7 @@ header = """/** #include "main/blit.h" #include "main/bufferobj.h" #include "main/arrayobj.h" +#include "main/bbox.h" #include "main/buffers.h" #include "main/clear.h" #include "main/clip.h" |