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

Unified Diff: ppapi/c/dev/ppb_opengles_dev.h

Issue 5567004: Proposed changes to Pepper 3D API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years 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/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_

Powered by Google App Engine
This is Rietveld 408576698