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

Unified Diff: webkit/glue/plugins/pepper_graphics_3d.h

Issue 3255003: Pull new PPAPI, rename non-P0 interfaces to Dev, rename DeviceContext2D to Gr... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 years, 4 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 | « webkit/glue/plugins/pepper_graphics_2d.cc ('k') | webkit/glue/plugins/pepper_graphics_3d.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/plugins/pepper_graphics_3d.h
===================================================================
--- webkit/glue/plugins/pepper_graphics_3d.h (revision 57791)
+++ webkit/glue/plugins/pepper_graphics_3d.h (working copy)
@@ -8,11 +8,10 @@
#include "base/scoped_ptr.h"
#include "gpu/command_buffer/client/gles2_cmd_helper.h"
#include "gpu/command_buffer/client/gles2_implementation.h"
-#include "third_party/ppapi/c/ppb_graphics_3d.h"
+#include "third_party/ppapi/c/pp_instance.h"
#include "webkit/glue/plugins/pepper_plugin_delegate.h"
#include "webkit/glue/plugins/pepper_resource.h"
-
namespace gfx {
class Rect;
} // namespace gfx
@@ -21,7 +20,8 @@
class CommandBuffer;
} // namespace gpu
-typedef struct _ppb_OpenGLES PPB_OpenGLES;
+struct PPB_Graphics3D_Dev;
+struct PPB_OpenGLES_Dev;
namespace pepper {
@@ -31,10 +31,9 @@
virtual ~Graphics3D();
- static const PPB_Graphics3D* GetInterface();
+ static const PPB_Graphics3D_Dev* GetInterface();
+ static const PPB_OpenGLES_Dev* GetOpenGLESInterface();
- static const PPB_OpenGLES* GetOpenGLESInterface();
-
static bool Shutdown();
static Graphics3D* GetCurrent();
« no previous file with comments | « webkit/glue/plugins/pepper_graphics_2d.cc ('k') | webkit/glue/plugins/pepper_graphics_3d.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698