glapi: add ARB_vertex_type_2_10_10_10_rev entrypoints. (v2)
authorDave Airlie <airlied@redhat.com>
Sun, 21 Nov 2010 22:11:46 +0000 (08:11 +1000)
committerDave Airlie <airlied@redhat.com>
Tue, 6 Sep 2011 09:15:59 +0000 (10:15 +0100)
These are the new API entrypoints for ARB_vertex_type_2_10_10_10_rev
extension, along with the new INT_2_10_10_10_REV enum.

v2: fixup crazy whitespace cut-n-paste mess

Signed-off-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/mapi/glapi/gen/ARB_vertex_type_2_10_10_10_rev.xml [new file with mode: 0644]
src/mapi/glapi/gen/Makefile
src/mapi/glapi/gen/gl_API.xml

diff --git a/src/mapi/glapi/gen/ARB_vertex_type_2_10_10_10_rev.xml b/src/mapi/glapi/gen/ARB_vertex_type_2_10_10_10_rev.xml
new file mode 100644 (file)
index 0000000..7d12d97
--- /dev/null
@@ -0,0 +1,226 @@
+<?xml version="1.0"?>
+<!DOCTYPE OpenGLAPI SYSTEM "gl_API.dtd">
+
+<OpenGLAPI>
+
+<category name="GL_ARB_vertex_type_2_10_10_10_rev" number="86">
+
+    <enum name="INT_2_10_10_10_REV"                value = "0x8D9F"/>
+
+    <function name="VertexP2ui" offset="assign">
+        <param name="type" type="GLenum"/>
+        <param name="value" type="GLuint"/>
+    </function>
+
+    <function name="VertexP3ui" offset="assign">
+        <param name="type" type="GLenum"/>
+        <param name="value" type="GLuint"/>
+    </function>
+
+    <function name="VertexP4ui" offset="assign">
+        <param name="type" type="GLenum"/>
+        <param name="value" type="GLuint"/>
+    </function>
+
+    <function name="VertexP2uiv" offset="assign">
+        <param name="type" type="GLenum"/>
+        <param name="value" type="const GLuint *"/>
+    </function>
+
+    <function name="VertexP3uiv" offset="assign">
+        <param name="type" type="GLenum"/>
+        <param name="value" type="const GLuint *"/>
+    </function>
+
+    <function name="VertexP4uiv" offset="assign">
+        <param name="type" type="GLenum"/>
+        <param name="value" type="const GLuint *"/>
+    </function>
+
+    <function name="TexCoordP1ui" offset="assign">
+        <param name="type" type="GLenum"/>
+        <param name="coords" type="GLuint"/>
+    </function>
+
+    <function name="TexCoordP2ui" offset="assign">
+        <param name="type" type="GLenum"/>
+        <param name="coords" type="GLuint"/>
+    </function>
+
+    <function name="TexCoordP3ui" offset="assign">
+        <param name="type" type="GLenum"/>
+        <param name="coords" type="GLuint"/>
+    </function>
+
+    <function name="TexCoordP4ui" offset="assign">
+        <param name="type" type="GLenum"/>
+        <param name="coords" type="GLuint"/>
+    </function>
+
+    <function name="TexCoordP1uiv" offset="assign">
+        <param name="type" type="GLenum"/>
+        <param name="coords" type="const GLuint *"/>
+    </function>
+
+    <function name="TexCoordP2uiv" offset="assign">
+        <param name="type" type="GLenum"/>
+        <param name="coords" type="const GLuint *"/>
+    </function>
+
+    <function name="TexCoordP3uiv" offset="assign">
+        <param name="type" type="GLenum"/>
+        <param name="coords" type="const GLuint *"/>
+    </function>
+
+    <function name="TexCoordP4uiv" offset="assign">
+        <param name="type" type="GLenum"/>
+        <param name="coords" type="const GLuint *"/>
+    </function>
+
+    <function name="MultiTexCoordP1ui" offset="assign">
+        <param name="texture" type="GLenum"/>
+        <param name="type" type="GLenum"/>
+        <param name="coords" type="GLuint"/>
+    </function>
+
+    <function name="MultiTexCoordP2ui" offset="assign">
+        <param name="texture" type="GLenum"/>
+        <param name="type" type="GLenum"/>
+        <param name="coords" type="GLuint"/>
+    </function>
+
+    <function name="MultiTexCoordP3ui" offset="assign">
+        <param name="texture" type="GLenum"/>
+        <param name="type" type="GLenum"/>
+        <param name="coords" type="GLuint"/>
+    </function>
+
+    <function name="MultiTexCoordP4ui" offset="assign">
+        <param name="texture" type="GLenum"/>
+        <param name="type" type="GLenum"/>
+        <param name="coords" type="GLuint"/>
+    </function>
+
+    <function name="MultiTexCoordP1uiv" offset="assign">
+        <param name="texture" type="GLenum"/>
+        <param name="type" type="GLenum"/>
+        <param name="coords" type="const GLuint *"/>
+    </function>
+
+    <function name="MultiTexCoordP2uiv" offset="assign">
+        <param name="texture" type="GLenum"/>
+        <param name="type" type="GLenum"/>
+        <param name="coords" type="const GLuint *"/>
+    </function>
+
+    <function name="MultiTexCoordP3uiv" offset="assign">
+        <param name="texture" type="GLenum"/>
+        <param name="type" type="GLenum"/>
+        <param name="coords" type="const GLuint *"/>
+    </function>
+
+    <function name="MultiTexCoordP4uiv" offset="assign">
+        <param name="texture" type="GLenum"/>
+        <param name="type" type="GLenum"/>
+        <param name="coords" type="const GLuint *"/>
+    </function>
+
+    <function name="NormalP3ui" offset="assign">
+        <param name="type" type="GLenum"/>
+        <param name="coords" type="GLuint"/>
+    </function>
+
+    <function name="NormalP3uiv" offset="assign">
+        <param name="type" type="GLenum"/>
+        <param name="coords" type="const GLuint *"/>
+    </function>
+
+    <function name="ColorP3ui" offset="assign">
+        <param name="type" type="GLenum"/>
+        <param name="color" type="GLuint"/>
+    </function>
+
+    <function name="ColorP4ui" offset="assign">
+        <param name="type" type="GLenum"/>
+        <param name="color" type="GLuint"/>
+    </function>
+
+    <function name="ColorP3uiv" offset="assign">
+        <param name="type" type="GLenum"/>
+        <param name="color" type="const GLuint *"/>
+    </function>
+
+    <function name="ColorP4uiv" offset="assign">
+        <param name="type" type="GLenum"/>
+        <param name="color" type="const GLuint *"/>
+    </function>
+
+    <function name="SecondaryColorP3ui" offset="assign">
+        <param name="type" type="GLenum"/>
+        <param name="color" type="GLuint"/>
+    </function>
+
+    <function name="SecondaryColorP3uiv" offset="assign">
+        <param name="type" type="GLenum"/>
+        <param name="color" type="const GLuint *"/>
+    </function>
+
+    <function name="VertexAttribP1ui" offset="assign">
+        <param name="index" type="GLuint"/>
+        <param name="type" type="GLenum"/>
+        <param name="normalized" type="GLboolean"/>
+        <param name="value" type="GLuint"/>
+    </function>
+
+    <function name="VertexAttribP2ui" offset="assign">
+        <param name="index" type="GLuint"/>
+        <param name="type" type="GLenum"/>
+        <param name="normalized" type="GLboolean"/>
+        <param name="value" type="GLuint"/>
+    </function>
+
+    <function name="VertexAttribP3ui" offset="assign">
+        <param name="index" type="GLuint"/>
+        <param name="type" type="GLenum"/>
+        <param name="normalized" type="GLboolean"/>
+        <param name="value" type="GLuint"/>
+    </function>
+
+    <function name="VertexAttribP4ui" offset="assign">
+        <param name="index" type="GLuint"/>
+        <param name="type" type="GLenum"/>
+        <param name="normalized" type="GLboolean"/>
+        <param name="value" type="GLuint"/>
+    </function>
+
+    <function name="VertexAttribP1uiv" offset="assign">
+        <param name="index" type="GLuint"/>
+        <param name="type" type="GLenum"/>
+        <param name="normalized" type="GLboolean"/>
+        <param name="value" type="const GLuint *"/>
+    </function>
+
+    <function name="VertexAttribP2uiv" offset="assign">
+        <param name="index" type="GLuint"/>
+        <param name="type" type="GLenum"/>
+        <param name="normalized" type="GLboolean"/>
+        <param name="value" type="const GLuint *"/>
+    </function>
+
+    <function name="VertexAttribP3uiv" offset="assign">
+        <param name="index" type="GLuint"/>
+        <param name="type" type="GLenum"/>
+        <param name="normalized" type="GLboolean"/>
+        <param name="value" type="const GLuint *"/>
+    </function>
+
+    <function name="VertexAttribP4uiv" offset="assign">
+        <param name="index" type="GLuint"/>
+        <param name="type" type="GLenum"/>
+        <param name="normalized" type="GLboolean"/>
+        <param name="value" type="const GLuint *"/>
+    </function>
+
+</category>
+
+</OpenGLAPI>
index c386b8766c4421862c9cde7b5a0c4fcdebc3cd28..ec82d48cee3ef83e92f3cc6f1bac7feb5ceb304e 100644 (file)
@@ -89,6 +89,7 @@ API_XML = \
        ARB_texture_buffer_object.xml \
        ARB_vertex_array_object.xml \
        AMD_draw_buffers_blend.xml \
+       ARB_vertex_type_2_10_10_10_rev.xml \
        APPLE_object_purgeable.xml \
        APPLE_vertex_array_object.xml \
        EXT_draw_buffers2.xml \
index 7a7b1e903a91bce158c937359b541f37fec770dd..bf811ce46a19835d6e1d5e0d73ecd5fa45188ced 100644 (file)
 
 <xi:include href="ARB_texture_buffer_object.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
 
+<xi:include href="ARB_vertex_type_2_10_10_10_rev.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
+
 </OpenGLAPI>