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

Unified Diff: ppapi/c/ppb_opengles.h

Issue 7737013: Move PPAPI graphics3d and opengles interfaces out of Dev. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 3 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_opengles.h
===================================================================
--- ppapi/c/ppb_opengles.h (revision 99577)
+++ ppapi/c/ppb_opengles.h (working copy)
@@ -5,8 +5,8 @@
// This file is auto-generated. DO NOT EDIT!
// OpenGL ES interface.
-#ifndef PPAPI_C_DEV_PPB_OPENGLES_DEV_H_
-#define PPAPI_C_DEV_PPB_OPENGLES_DEV_H_
+#ifndef PPAPI_C_PPB_OPENGLES_H_
+#define PPAPI_C_PPB_OPENGLES_H_
#include "ppapi/c/pp_resource.h"
#include "ppapi/c/pp_stdint.h"
@@ -32,12 +32,12 @@
#endif // __gl2_h_
// TODO(brettw) this string should be PPB_OpenGLES2;1.0 when this is frozen.
-// The 2.0 is trying to describe the version of OpenGL ES which is different
-// than the Pepper interface version.
-#define PPB_OPENGLES2_DEV_INTERFACE_0_1 "PPB_OpenGLES(Dev);2.0"
-#define PPB_OPENGLES2_DEV_INTERFACE PPB_OPENGLES2_DEV_INTERFACE_0_1
+// The 2 following OpenGLES describes the version of OpenGL ES, which is
+// different than the Pepper interface version to the right of the semi-colon.
+#define PPB_OPENGLES2_INTERFACE_0_9 "PPB_OpenGLES2;0.9"
+#define PPB_OPENGLES2_INTERFACE PPB_OPENGLES2_INTERFACE_0_9
-struct PPB_OpenGLES2_Dev {
+struct PPB_OpenGLES2 {
void (*ActiveTexture)(PP_Resource context, GLenum texture);
void (*AttachShader)(PP_Resource context, GLuint program, GLuint shader);
void (*BindAttribLocation)(
@@ -304,5 +304,5 @@
PP_Resource context, GLint x, GLint y, GLsizei width, GLsizei height);
};
-#endif // PPAPI_C_DEV_PPB_OPENGLES_DEV_H_
+#endif // PPAPI_C_PPB_OPENGLES_H_

Powered by Google App Engine
This is Rietveld 408576698