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

Unified Diff: ppapi/lib/gl/gles2/gles2.c

Issue 182213003: Add new PPB_OPENGLES2_DRAWBUFFERS_DEV_INTERFACE_1_0 pepper interface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 10 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
« no previous file with comments | « ppapi/lib/gl/gles2/gl2ext_ppapi.c ('k') | ppapi/proxy/interface_list.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/lib/gl/gles2/gles2.c
diff --git a/ppapi/lib/gl/gles2/gles2.c b/ppapi/lib/gl/gles2/gles2.c
index dabb20ca258528165a5800f03a70d3250869e2be..3e9732da0d28687fc4e575e5b3fca5a8de99bad1 100644
--- a/ppapi/lib/gl/gles2/gles2.c
+++ b/ppapi/lib/gl/gles2/gles2.c
@@ -1055,3 +1055,10 @@ void GL_APIENTRY glVertexAttribDivisorANGLE(GLuint index, GLuint divisor) {
if (ext)
ext->VertexAttribDivisorANGLE(glGetCurrentContextPPAPI(), index, divisor);
}
+void GL_APIENTRY glDrawBuffersEXT(GLsizei count, const GLenum* bufs) {
+ const struct PPB_OpenGLES2DrawBuffers_Dev* ext =
+ glGetDrawBuffersInterfacePPAPI();
+ if (ext)
+ ext->DrawBuffersEXT(glGetCurrentContextPPAPI(), count, bufs);
+}
+
« no previous file with comments | « ppapi/lib/gl/gles2/gl2ext_ppapi.c ('k') | ppapi/proxy/interface_list.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698