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

Unified Diff: ppapi/cpp/dev/graphics_3d_dev.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 | « ppapi/c/dev/ppb_opengles_dev.h ('k') | ppapi/cpp/dev/graphics_3d_dev.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/cpp/dev/graphics_3d_dev.h
===================================================================
--- ppapi/cpp/dev/graphics_3d_dev.h (revision 69835)
+++ ppapi/cpp/dev/graphics_3d_dev.h (working copy)
@@ -27,10 +27,8 @@
static void* GetProcAddress(const char* name);
- static bool ResetCurrent();
- static Graphics3D_Dev GetCurrentContext();
static uint32_t GetError();
- static const PPB_OpenGLES_Dev* GetImplementation();
+ static const PPB_OpenGLES2_Dev* GetImplementation();
// Creates an is_null() Graphics3D object.
Graphics3D_Dev() {}
@@ -40,7 +38,6 @@
int32_t share_context,
const int32_t* attrib_list);
- bool MakeCurrent() const;
bool SwapBuffers() const;
protected:
« no previous file with comments | « ppapi/c/dev/ppb_opengles_dev.h ('k') | ppapi/cpp/dev/graphics_3d_dev.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698