| Index: ppapi/lib/gl/gles2/gles2.c
|
| diff --git a/ppapi/lib/gl/gles2/gles2.c b/ppapi/lib/gl/gles2/gles2.c
|
| index 60922cd722cfc4335f0e8882297ef2b76c5bed8c..faefb0958e0f416c19e650ab1f5f6c0172ec07e9 100644
|
| --- a/ppapi/lib/gl/gles2/gles2.c
|
| +++ b/ppapi/lib/gl/gles2/gles2.c
|
| @@ -967,6 +967,35 @@ glGetQueryObjectuivEXT(GLuint id, GLenum pname, GLuint* params) {
|
| ext->GetQueryObjectuivEXT(glGetCurrentContextPPAPI(), id, pname, params);
|
| }
|
|
|
| +void GL_APIENTRY glGenVertexArraysOES(GLsizei n, GLuint* arrays) {
|
| + const struct PPB_OpenGLES2VertexArrayObject* ext =
|
| + glGetVertexArrayObjectInterfacePPAPI();
|
| + if (ext)
|
| + ext->GenVertexArraysOES(glGetCurrentContextPPAPI(), n, arrays);
|
| +}
|
| +
|
| +void GL_APIENTRY glDeleteVertexArraysOES(GLsizei n, const GLuint* arrays) {
|
| + const struct PPB_OpenGLES2VertexArrayObject* ext =
|
| + glGetVertexArrayObjectInterfacePPAPI();
|
| + if (ext)
|
| + ext->DeleteVertexArraysOES(glGetCurrentContextPPAPI(), n, arrays);
|
| +}
|
| +
|
| +GLboolean GL_APIENTRY glIsVertexArrayOES(GLuint array) {
|
| + const struct PPB_OpenGLES2VertexArrayObject* ext =
|
| + glGetVertexArrayObjectInterfacePPAPI();
|
| + if (ext)
|
| + return ext->IsVertexArrayOES(glGetCurrentContextPPAPI(), array);
|
| + return 0;
|
| +}
|
| +
|
| +void GL_APIENTRY glBindVertexArrayOES(GLuint array) {
|
| + const struct PPB_OpenGLES2VertexArrayObject* ext =
|
| + glGetVertexArrayObjectInterfacePPAPI();
|
| + if (ext)
|
| + ext->BindVertexArrayOES(glGetCurrentContextPPAPI(), array);
|
| +}
|
| +
|
| GLboolean GL_APIENTRY glEnableFeatureCHROMIUM(const char* feature) {
|
| const struct PPB_OpenGLES2ChromiumEnableFeature* ext =
|
| glGetChromiumEnableFeatureInterfacePPAPI();
|
|
|