[Mesa-dev] [PATCH 1/4] glapi: add ARB_vertex_type_2_10_10_10_rev entrypoints.

Dave Airlie airlied at gmail.com
Sun Sep 4 07:05:02 PDT 2011


From: Dave Airlie <airlied at redhat.com>

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.

Signed-off-by: Dave Airlie <airlied at redhat.com>
---
 .../glapi/gen/ARB_vertex_type_2_10_10_10_rev.xml   |  222 ++++++++++++++++++++
 src/mapi/glapi/gen/Makefile                        |    1 +
 src/mapi/glapi/gen/gl_API.xml                      |    2 +
 3 files changed, 225 insertions(+), 0 deletions(-)
 create mode 100644 src/mapi/glapi/gen/ARB_vertex_type_2_10_10_10_rev.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
index 0000000..9651351
--- /dev/null
+++ b/src/mapi/glapi/gen/ARB_vertex_type_2_10_10_10_rev.xml
@@ -0,0 +1,222 @@
+<?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>
\ No newline at end of file
diff --git a/src/mapi/glapi/gen/Makefile b/src/mapi/glapi/gen/Makefile
index c386b87..ec82d48 100644
--- a/src/mapi/glapi/gen/Makefile
+++ b/src/mapi/glapi/gen/Makefile
@@ -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 \
diff --git a/src/mapi/glapi/gen/gl_API.xml b/src/mapi/glapi/gen/gl_API.xml
index 7a7b1e9..bf811ce 100644
--- a/src/mapi/glapi/gen/gl_API.xml
+++ b/src/mapi/glapi/gen/gl_API.xml
@@ -12537,4 +12537,6 @@
 
 <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>
-- 
1.7.6



More information about the mesa-dev mailing list