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

Unified Diff: ppapi/lib/gl/gles2/gl2ext_ppapi.c

Issue 7782020: Revert 99855 - Move PPAPI graphics3d and opengles interfaces out of Dev. (Closed) Base URL: svn://svn.chromium.org/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
« no previous file with comments | « ppapi/lib/gl/gles2/gl2ext_ppapi.h ('k') | ppapi/native_client/src/shared/ppapi_proxy/browser_globals.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/lib/gl/gles2/gl2ext_ppapi.c
===================================================================
--- ppapi/lib/gl/gles2/gl2ext_ppapi.c (revision 99860)
+++ ppapi/lib/gl/gles2/gl2ext_ppapi.c (working copy)
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2010 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -25,7 +25,7 @@
// TODO(alokp): This will need to be thread-safe if we build gles2 as a
// shared library.
-static const struct PPB_OpenGLES2* g_gles2_interface = NULL;
+static const struct PPB_OpenGLES2_Dev* g_gles2_interface = NULL;
// TODO(alokp): Make sure PP_TLS works on all supported platforms.
static PP_TLS PP_Resource g_current_context = 0;
@@ -33,7 +33,7 @@
GLboolean GL_APIENTRY glInitializePPAPI(
PPB_GetInterface get_browser_interface) {
if (!g_gles2_interface) {
- g_gles2_interface = get_browser_interface(PPB_OPENGLES2_INTERFACE);
+ g_gles2_interface = get_browser_interface(PPB_OPENGLES2_DEV_INTERFACE);
}
return g_gles2_interface ? GL_TRUE : GL_FALSE;
}
@@ -51,7 +51,7 @@
return g_current_context;
}
-const struct PPB_OpenGLES2* GL_APIENTRY glGetInterfacePPAPI() {
+const struct PPB_OpenGLES2_Dev* GL_APIENTRY glGetInterfacePPAPI() {
return g_gles2_interface;
}
Property changes on: ppapi/lib/gl/gles2/gl2ext_ppapi.c
___________________________________________________________________
Added: svn:mergeinfo
« no previous file with comments | « ppapi/lib/gl/gles2/gl2ext_ppapi.h ('k') | ppapi/native_client/src/shared/ppapi_proxy/browser_globals.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698