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

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

Issue 7409003: Binding Graphics3D with Instance and OpenGLES2 interface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 5 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/thunk/ppb_context_3d_api.h ('k') | webkit/plugins/ppapi/ppapi_plugin_instance.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/plugins/ppapi/ppapi_plugin_instance.h
===================================================================
--- webkit/plugins/ppapi/ppapi_plugin_instance.h (revision 93075)
+++ webkit/plugins/ppapi/ppapi_plugin_instance.h (working copy)
@@ -70,6 +70,7 @@
class PluginModule;
class PluginObject;
class PPB_Graphics2D_Impl;
+class PPB_Graphics3D_Impl;
class PPB_ImageData_Impl;
class PPB_Surface3D_Impl;
class PPB_URLLoader_Impl;
@@ -330,11 +331,16 @@
// Get the bound graphics context as a concrete 2D graphics context or returns
// null if the context is not 2D.
- PPB_Graphics2D_Impl* bound_graphics_2d() const;
+ PPB_Graphics2D_Impl* GetBoundGraphics2D() const;
+ // Get the bound 3D graphics context.
+ // Returns NULL if bound graphics is not a 3D context.
+ PPB_Graphics3D_Impl* GetBoundGraphics3D() const;
+
+ // DEPRECATED: PPB_Surface3D_Impl is being replaced with PPB_Graphics3D_Impl.
// Get the bound 3D graphics surface.
// Returns NULL if bound graphics is not a 3D surface.
- PPB_Surface3D_Impl* bound_graphics_3d() const;
+ PPB_Surface3D_Impl* GetBoundSurface3D() const;
// Sets the id of the texture that the plugin draws to. The id is in the
// compositor space so it can use it to composite with rest of the page.
« no previous file with comments | « ppapi/thunk/ppb_context_3d_api.h ('k') | webkit/plugins/ppapi/ppapi_plugin_instance.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698