summaryrefslogtreecommitdiffstats
path: root/src/mapi
diff options
context:
space:
mode:
authorIlia Mirkin <[email protected]>2016-08-28 19:53:02 -0400
committerIlia Mirkin <[email protected]>2016-09-13 20:49:50 -0400
commit83116d084f254cb8fcb58d240af10cf40a444cde (patch)
tree1405d6af98c79dc6e2a0db35fcaa66c754788fd7 /src/mapi
parenta69dc2c41294a4b7126804050bd4d10f3208852e (diff)
mesa: introduce glPrimitiveBoundingBoxARB entrypoint
This requires a bit of rejiggering, since normally ES entrypoints alias core ones, not vice-versa. Signed-off-by: Ilia Mirkin <[email protected]> Reviewed-by: Ian Romanick <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mapi')
-rw-r--r--src/mapi/glapi/gen/es_EXT.xml19
-rw-r--r--src/mapi/glapi/gen/gl_API.xml37
2 files changed, 37 insertions, 19 deletions
diff --git a/src/mapi/glapi/gen/es_EXT.xml b/src/mapi/glapi/gen/es_EXT.xml
index b9fbec40cab..332dc5eb7bd 100644
--- a/src/mapi/glapi/gen/es_EXT.xml
+++ b/src/mapi/glapi/gen/es_EXT.xml
@@ -1342,23 +1342,4 @@
</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_API.xml b/src/mapi/glapi/gen/gl_API.xml
index c39aa222503..17c59db97a7 100644
--- a/src/mapi/glapi/gen/gl_API.xml
+++ b/src/mapi/glapi/gen/gl_API.xml
@@ -8318,6 +8318,43 @@
<function name="BlendBarrierKHR" alias="BlendBarrier" es2="2.0"/>
</category>
+<category name="ARB_ES3_2_compatibility" number="177">
+
+ <enum name="PRIMITIVE_BOUNDING_BOX_ARB" count="8" value="0x92BE">
+ <size name="Get" mode="get"/>
+ </enum>
+ <enum name="MULTISAMPLE_LINE_WIDTH_RANGE_ARB" count="2" value="0x9381">
+ <size name="Get" mode="get"/>
+ </enum>
+ <enum name="MULTISAMPLE_LINE_WIDTH_GRANULARITY_ARB" value="0x9382">
+ <size name="Get" mode="get"/>
+ </enum>
+
+ <!-- This should be in es_EXT, but this file is included first and
+ the alias doesn't work otherwise. -->
+ <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>
+ <function name="PrimitiveBoundingBoxARB" 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>
+
<!-- Non-ARB extensions sorted by extension number. -->
<category name="GL_EXT_blend_color" number="2">