summaryrefslogtreecommitdiffstats
path: root/src/mapi/glapi
diff options
context:
space:
mode:
authorTapani Pälli <tapani.palli@intel.com>2014-11-25 06:10:30 -0500
committerTapani Pälli <tapani.palli@intel.com>2015-01-14 07:48:51 +0200
commitf52fe39d311f3b1988edaeb4765279bbe337b1b7 (patch)
treef2ddf1b2cff26f9ee99234018aef0e041daca760 /src/mapi/glapi
parent3a5c7e47fdcfb3e322c0756e960cbcf8403e4230 (diff)
downloadexternal_mesa3d-f52fe39d311f3b1988edaeb4765279bbe337b1b7.zip
external_mesa3d-f52fe39d311f3b1988edaeb4765279bbe337b1b7.tar.gz
external_mesa3d-f52fe39d311f3b1988edaeb4765279bbe337b1b7.tar.bz2
mesa/glsl/glapi: enable GL_EXT_draw_buffers extension
Patch enables ES2 extension that utilizes existing ES3 functionality. Changes make all the subtests to run and pass in WebGL conformance test 'webgl-draw-buffers' when running Chrome on OpenGL ES, also Piglit test 'draw_buffers_gles2' passes. v2: remove unused boolean (Ilia Mirkin) v3: proper error checking for invalid values (Chad Versace) v4: run error check explicitly for ES2 and ES3 (Kenneth Graunke) Signed-off-by: Tapani Pälli <tapani.palli@intel.com> Reviewed-by: Matt Turner <mattst88@gmail.com> Reviewed-by: Chad Versace <chad.versace@intel.com>
Diffstat (limited to 'src/mapi/glapi')
-rw-r--r--src/mapi/glapi/gen/es_EXT.xml9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/mapi/glapi/gen/es_EXT.xml b/src/mapi/glapi/gen/es_EXT.xml
index e2dc390..3a2adeb 100644
--- a/src/mapi/glapi/gen/es_EXT.xml
+++ b/src/mapi/glapi/gen/es_EXT.xml
@@ -837,4 +837,13 @@
</function>
</category>
+<!-- 151. GL_EXT_draw_buffers -->
+<category name="GL_EXT_draw_buffers" number="151">
+ <function name="DrawBuffersEXT" alias="DrawBuffers"
+ static_dispatch="false" es2="2.0">
+ <param name="n" type="GLsizei" counter="true"/>
+ <param name="bufs" type="const GLenum *" count="n"/>
+ </function>
+</category>
+
</OpenGLAPI>