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_ |