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

Unified Diff: ppapi/c/ppb_opengles2.h

Issue 397183002: Add PPAPI interface for OpenGL ES 2.0 Vertex Array Objects. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 6 years, 5 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 | « gpu/command_buffer/build_gles2_cmd_buffer.py ('k') | ppapi/lib/gl/gles2/gl2ext_ppapi.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/c/ppb_opengles2.h
diff --git a/ppapi/c/ppb_opengles2.h b/ppapi/c/ppb_opengles2.h
index 7f876e199ffceedf5f9f8758a62564627e14653a..7fec50dd65e3f1e921cfcf335c894dae833b0a04 100644
--- a/ppapi/c/ppb_opengles2.h
+++ b/ppapi/c/ppb_opengles2.h
@@ -611,4 +611,18 @@ struct PPB_OpenGLES2Query {
GLuint* params);
};
+#define PPB_OPENGLES2_VERTEXARRAYOBJECT_INTERFACE_1_0 \
+ "PPB_OpenGLES2VertexArrayObject;1.0"
+#define PPB_OPENGLES2_VERTEXARRAYOBJECT_INTERFACE \
+ PPB_OPENGLES2_VERTEXARRAYOBJECT_INTERFACE_1_0
+
+struct PPB_OpenGLES2VertexArrayObject {
+ void (*GenVertexArraysOES)(PP_Resource context, GLsizei n, GLuint* arrays);
+ void (*DeleteVertexArraysOES)(PP_Resource context,
+ GLsizei n,
+ const GLuint* arrays);
+ GLboolean (*IsVertexArrayOES)(PP_Resource context, GLuint array);
+ void (*BindVertexArrayOES)(PP_Resource context, GLuint array);
+};
+
#endif // PPAPI_C_PPB_OPENGLES2_H_
« no previous file with comments | « gpu/command_buffer/build_gles2_cmd_buffer.py ('k') | ppapi/lib/gl/gles2/gl2ext_ppapi.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698