Index: ppapi/c/dev/ppb_opengles_dev.h |
=================================================================== |
--- ppapi/c/dev/ppb_opengles_dev.h (revision 68085) |
+++ ppapi/c/dev/ppb_opengles_dev.h (working copy) |
@@ -11,7 +11,7 @@ |
#include "ppapi/GLES2/khrplatform.h" |
-#define PPB_OPENGLES_DEV_INTERFACE "PPB_OpenGLES(Dev);2.0" |
+#define PPB_OPENGLES2_DEV_INTERFACE "PPB_OpenGLES(Dev);2.0" |
typedef unsigned int GLenum; |
typedef void GLvoid; |
@@ -31,7 +31,8 @@ |
typedef unsigned short GLushort; |
typedef int GLclampx; |
-struct PPB_OpenGLES_Dev { |
+struct PPB_OpenGLES2_Dev { |
+ // TODO(alokp): Add context argument to all gl functions. |
void (*ActiveTexture)(GLenum texture); |
void (*AttachShader)(GLuint program, GLuint shader); |
void (*BindAttribLocation)(GLuint program, GLuint index, const char* name); |
@@ -227,9 +228,6 @@ |
GLuint indx, GLint size, GLenum type, GLboolean normalized, |
GLsizei stride, const void* ptr); |
void (*Viewport)(GLint x, GLint y, GLsizei width, GLsizei height); |
- void (*SwapBuffers)(); |
- void (*CopyTextureToParentTexture)( |
- GLuint client_child_id, GLuint client_parent_id); |
}; |
#endif // PPAPI_C_DEV_PPB_OPENGLES_DEV_H_ |