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

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: 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
Index: ppapi/c/ppb_opengles2.h
diff --git a/ppapi/c/ppb_opengles2.h b/ppapi/c/ppb_opengles2.h
index 7f876e199ffceedf5f9f8758a62564627e14653a..526f7eddf7f89462501fe1b704860703c6d688b5 100644
--- a/ppapi/c/ppb_opengles2.h
+++ b/ppapi/c/ppb_opengles2.h
@@ -611,4 +611,17 @@ struct PPB_OpenGLES2Query {
GLuint* params);
};
+#define PPB_OPENGLES2_VERTEXARRAY_INTERFACE_1_0 "PPB_OpenGLES2VertexArray;1.0"
+#define PPB_OPENGLES2_VERTEXARRAY_INTERFACE \
+ PPB_OPENGLES2_VERTEXARRAY_INTERFACE_1_0
+
+struct PPB_OpenGLES2VertexArray {
+ 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_

Powered by Google App Engine
This is Rietveld 408576698