Mesa (master): mesa/es: Make glDrawBuffersNV available in OpenGL ES 2.0

Ian Romanick idr at kemper.freedesktop.org
Tue Oct 4 19:31:13 UTC 2011


Module: Mesa
Branch: master
Commit: 43251b970d2d4969b0166aaea50383479a09c3bc
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=43251b970d2d4969b0166aaea50383479a09c3bc

Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Tue Sep 20 15:14:34 2011 -0700

mesa/es: Make glDrawBuffersNV available in OpenGL ES 2.0

Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Brian Paul <brianp at vmware.com>

---

 src/mesa/main/APIspec.xml |   13 +++++++++++++
 1 files changed, 13 insertions(+), 0 deletions(-)

diff --git a/src/mesa/main/APIspec.xml b/src/mesa/main/APIspec.xml
index 33029ea..5d5fc03 100644
--- a/src/mesa/main/APIspec.xml
+++ b/src/mesa/main/APIspec.xml
@@ -3512,6 +3512,14 @@
 	</proto>
 </template>
 
+<template name="DrawBuffers">
+	<proto>
+		<return type="void"/>
+		<param name="n" type="GLsizei"/>
+		<param name="bufs" type="const GLenum *"/>
+	</proto>
+</template>
+
 <api name="mesa" implementation="true">
 	<category name="MESA"/>
 
@@ -3786,6 +3794,8 @@
         <!-- OES_EGL_image -->
         <function name="EGLImageTargetTexture2DOES" template="EGLImageTargetTexture2D"/>
         <function name="EGLImageTargetRenderbufferStorageOES" template="EGLImageTargetRenderbufferStorage"/>
+
+	<function name="DrawBuffersARB" template="DrawBuffers"/>
 </api>
 
 <api name="GLES1.1">
@@ -4117,6 +4127,9 @@
 	<category name="EXT_multi_draw_arrays"/>
 	<category name="OES_EGL_image"/>
 
+	<category name="NV_draw_buffers"/>
+	<function name="DrawBuffersNV" template="DrawBuffers"/>
+
 	<function name="CullFace" template="CullFace"/>
 
 	<function name="FrontFace" template="FrontFace"/>




More information about the mesa-commit mailing list