diff options
Diffstat (limited to 'src/mapi')
-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" |