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

Author: Ian Romanick <[email protected]>
Date:   Tue Sep 20 15:14:34 2011 -0700

mesa/es: Make glDrawBuffersNV available in OpenGL ES 2.0

Signed-off-by: Ian Romanick <[email protected]>
Reviewed-by: Brian Paul <[email protected]>

---

 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"/>

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to