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

Unified Diff: ppapi/c/dev/ppb_opengles2ext_dev.h

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
Index: ppapi/c/dev/ppb_opengles2ext_dev.h
diff --git a/ppapi/c/dev/ppb_opengles2ext_dev.h b/ppapi/c/dev/ppb_opengles2ext_dev.h
index f84333e6071e43110703ef584ff86cc06d5ac110..2f544e228b16a29965be0137ef9dcd0f437dcf1e 100644
--- a/ppapi/c/dev/ppb_opengles2ext_dev.h
+++ b/ppapi/c/dev/ppb_opengles2ext_dev.h
@@ -13,5 +13,16 @@
#include "ppapi/c/pp_resource.h"
#include "ppapi/c/ppb_opengles2.h"
-#endif // PPAPI_C_DEV_PPB_OPENGLES2EXT_DEV_H_
+#define PPB_OPENGLES2_DRAWBUFFERS_DEV_INTERFACE_1_0 \
+ "PPB_OpenGLES2DrawBuffers( \
+ Dev);1.0"
+#define PPB_OPENGLES2_DRAWBUFFERS_DEV_INTERFACE \
+ PPB_OPENGLES2_DRAWBUFFERS_DEV_INTERFACE_1_0 // NOLINT
+
+struct PPB_OpenGLES2DrawBuffers_Dev {
+ void (*DrawBuffersEXT)(PP_Resource context,
+ GLsizei count,
+ const GLenum* bufs);
+};
+#endif // PPAPI_C_DEV_PPB_OPENGLES2EXT_DEV_H_

Powered by Google App Engine
This is Rietveld 408576698