diff options
author | Tapani Pälli <[email protected]> | 2014-11-25 06:10:30 -0500 |
---|---|---|
committer | Tapani Pälli <[email protected]> | 2015-01-14 07:48:51 +0200 |
commit | f52fe39d311f3b1988edaeb4765279bbe337b1b7 (patch) | |
tree | f2ddf1b2cff26f9ee99234018aef0e041daca760 /src/mapi/glapi/gen/es_EXT.xml | |
parent | 3a5c7e47fdcfb3e322c0756e960cbcf8403e4230 (diff) |
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 <[email protected]>
Reviewed-by: Matt Turner <[email protected]>
Reviewed-by: Chad Versace <[email protected]>
Diffstat (limited to 'src/mapi/glapi/gen/es_EXT.xml')
-rw-r--r-- | src/mapi/glapi/gen/es_EXT.xml | 9 |
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 e2dc39021c8..3a2adeb0491 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> |