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

Unified Diff: core/cross/renderer.h

Issue 6538102: Add support for runtime fall-back from o3d to o2d. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/o3d/
Patch Set: '' Created 9 years, 10 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 | « core/cross/gl/renderer_gl.cc ('k') | plugin/cross/o3d_glue.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/cross/renderer.h
===================================================================
--- core/cross/renderer.h (revision 75475)
+++ core/cross/renderer.h (working copy)
@@ -147,6 +147,12 @@
// Creates a 'default' renderer, choosing the correct implementation type.
static Renderer* CreateDefaultRenderer(ServiceLocator* service_locator);
+ // Creates a 2D renderer. This can be used instead of CreateDefaultRenderer
+ // when 3D is not supported by the underlying system, and is not strictly
+ // needed by the application.
+ static Renderer* Create2DRenderer(ServiceLocator* service_locator);
+
+
// Gets whether or not the renderer should attempt to use the software
// renderer.
static bool IsForceSoftwareRenderer();
« no previous file with comments | « core/cross/gl/renderer_gl.cc ('k') | plugin/cross/o3d_glue.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698