[Mesa-dev] [PATCH 5/6] glapi: add functions for AMD_draw_buffers_blend

Marek Olšák maraeo at gmail.com
Mon May 2 06:03:05 PDT 2011


---
 src/mapi/glapi/gen/AMD_draw_buffers_blend.xml |   38 +++++++++++++++++++++++++
 src/mapi/glapi/gen/Makefile                   |    1 +
 src/mapi/glapi/gen/gl_API.xml                 |    1 +
 3 files changed, 40 insertions(+), 0 deletions(-)
 create mode 100644 src/mapi/glapi/gen/AMD_draw_buffers_blend.xml

diff --git a/src/mapi/glapi/gen/AMD_draw_buffers_blend.xml b/src/mapi/glapi/gen/AMD_draw_buffers_blend.xml
new file mode 100644
index 0000000..2ed0e0b
--- /dev/null
+++ b/src/mapi/glapi/gen/AMD_draw_buffers_blend.xml
@@ -0,0 +1,38 @@
+<?xml version="1.0"?>
+<!DOCTYPE OpenGLAPI SYSTEM "gl_API.dtd">
+
+<!-- Note: no GLX protocol info yet. -->
+
+
+<OpenGLAPI>
+
+<category name="GL_AMD_draw_buffers_blend" number="366">
+
+    <function name="BlendEquationIndexedAMD" alias="BlendEquationiARB">
+        <param name="buf" type="GLuint"/>
+        <param name="mode" type="GLenum"/>
+    </function>
+
+    <function name="BlendEquationSeparateIndexedAMD" alias="BlendEquationSeparateiARB">
+        <param name="buf" type="GLuint"/>
+        <param name="modeRGB" type="GLenum"/>
+        <param name="modeA" type="GLenum"/>
+    </function>
+
+    <function name="BlendFuncIndexedAMD" alias="BlendFunciARB">
+        <param name="buf" type="GLuint"/>
+        <param name="src" type="GLenum"/>
+        <param name="dst" type="GLenum"/>
+    </function>
+
+    <function name="BlendFuncSeparateIndexedAMD" alias="BlendFuncSeparateiARB">
+        <param name="buf" type="GLuint"/>
+        <param name="srcRGB" type="GLenum"/>
+        <param name="dstRGB" type="GLenum"/>
+        <param name="srcA" type="GLenum"/>
+        <param name="dstA" type="GLenum"/>
+    </function>
+
+</category>
+
+</OpenGLAPI>
diff --git a/src/mapi/glapi/gen/Makefile b/src/mapi/glapi/gen/Makefile
index f02e5d2..87b928c 100644
--- a/src/mapi/glapi/gen/Makefile
+++ b/src/mapi/glapi/gen/Makefile
@@ -86,6 +86,7 @@ API_XML = \
 	ARB_sync.xml \
 	ARB_texture_buffer_object.xml \
 	ARB_vertex_array_object.xml \
+	AMD_draw_buffers_blend.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 669be60..7a7b1e9 100644
--- a/src/mapi/glapi/gen/gl_API.xml
+++ b/src/mapi/glapi/gen/gl_API.xml
@@ -12533,6 +12533,7 @@
 <xi:include href="ARB_instanced_arrays.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
 
 <xi:include href="ARB_draw_buffers_blend.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
+<xi:include href="AMD_draw_buffers_blend.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
 
 <xi:include href="ARB_texture_buffer_object.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
 
-- 
1.7.4.1



More information about the mesa-dev mailing list