Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(11)

Unified Diff: gpu/command_buffer/client/gles2_c_lib_autogen.h

Issue 12545014: Implement EXT_draw_buffers WebGL extention support in command buffer. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: gpu/command_buffer/client/gles2_c_lib_autogen.h
===================================================================
--- gpu/command_buffer/client/gles2_c_lib_autogen.h (revision 187725)
+++ gpu/command_buffer/client/gles2_c_lib_autogen.h (working copy)
@@ -728,6 +728,9 @@
void GLES2WaitSyncPointCHROMIUM(GLuint sync_point) {
gles2::GetGLContext()->WaitSyncPointCHROMIUM(sync_point);
}
+void GLES2DrawBuffersEXT(GLsizei count, const GLenum* bufs) {
+ gles2::GetGLContext()->DrawBuffersEXT(count, bufs);
+}
namespace gles2 {
@@ -1069,6 +1072,8 @@
glInsertSyncPointCHROMIUM), },
{ "glWaitSyncPointCHROMIUM", reinterpret_cast<GLES2FunctionPointer>(
glWaitSyncPointCHROMIUM), },
+ { "glDrawBuffersEXT", reinterpret_cast<GLES2FunctionPointer>(
+ glDrawBuffersEXT), },
{ NULL, NULL, },
};

Powered by Google App Engine
This is Rietveld 408576698