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

Unified Diff: webkit/plugins/ppapi/ppb_graphics_3d_impl.h

Issue 5927002: Moved the logic of maintaining the current context to gles2 helper library. (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
« no previous file with comments | « webkit/plugins/ppapi/plugin_module.cc ('k') | webkit/plugins/ppapi/ppb_graphics_3d_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/plugins/ppapi/ppb_graphics_3d_impl.h
===================================================================
--- webkit/plugins/ppapi/ppb_graphics_3d_impl.h (revision 69835)
+++ webkit/plugins/ppapi/ppb_graphics_3d_impl.h (working copy)
@@ -22,7 +22,7 @@
} // namespace gpu
struct PPB_Graphics3D_Dev;
-struct PPB_OpenGLES_Dev;
+struct PPB_OpenGLES2_Dev;
namespace webkit {
namespace ppapi {
@@ -34,14 +34,10 @@
virtual ~PPB_Graphics3D_Impl();
static const PPB_Graphics3D_Dev* GetInterface();
- static const PPB_OpenGLES_Dev* GetOpenGLESInterface();
+ static const PPB_OpenGLES2_Dev* GetOpenGLES2Interface();
static bool Shutdown();
- static PPB_Graphics3D_Impl* GetCurrent();
-
- static void ResetCurrent();
-
// Resource override.
virtual PPB_Graphics3D_Impl* AsPPB_Graphics3D_Impl();
@@ -54,8 +50,6 @@
// TODO(apatrick): Figure out the best semantics here.
bool BindToInstance(PluginInstance* new_instance);
- bool MakeCurrent();
-
bool SwapBuffers();
unsigned GetError();
« no previous file with comments | « webkit/plugins/ppapi/plugin_module.cc ('k') | webkit/plugins/ppapi/ppb_graphics_3d_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698