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

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
Index: webkit/plugins/ppapi/ppapi_plugin_instance.h
===================================================================
--- webkit/plugins/ppapi/ppapi_plugin_instance.h (revision 92890)
+++ 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;
@@ -332,9 +333,14 @@
// null if the context is not 2D.
PPB_Graphics2D_Impl* bound_graphics_2d() const;
+ // Get the bound 3D graphics context.
+ // Returns NULL if bound graphics is not a 3D context.
+ PPB_Graphics3D_Impl* bound_graphics_3d() const;
brettw 2011/07/18 23:09:51 Can you call this GetBoundsGraphics3D? The other o
alokp 2011/07/19 16:32:59 DONE. I replaced all the wrong ones.
+
+ // 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* bound_surface_3d() 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.

Powered by Google App Engine
This is Rietveld 408576698