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

Unified Diff: cc/trees/layer_tree_host_client.h

Issue 19267016: Add a flag to allow renderer to use software compositor when GL compositor doesn't work. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 | « cc/trees/layer_tree_host.cc ('k') | cc/trees/layer_tree_host_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/layer_tree_host_client.h
diff --git a/cc/trees/layer_tree_host_client.h b/cc/trees/layer_tree_host_client.h
index 680552e4efad6d0e9ac595c939f20f7351989ee3..9e11f7cbd5d219890a37f48c9a014c6783a518df 100644
--- a/cc/trees/layer_tree_host_client.h
+++ b/cc/trees/layer_tree_host_client.h
@@ -27,7 +27,9 @@ class LayerTreeHostClient {
virtual void Layout() = 0;
virtual void ApplyScrollAndScale(gfx::Vector2d scroll_delta,
float page_scale) = 0;
- virtual scoped_ptr<OutputSurface> CreateOutputSurface() = 0;
+ // Creates an OutputSurface. If fallback is true, it should attempt to
+ // create an OutputSurface that is guaranteed to initialize correctly.
+ virtual scoped_ptr<OutputSurface> CreateOutputSurface(bool fallback) = 0;
virtual void DidInitializeOutputSurface(bool success) = 0;
virtual void WillCommit() = 0;
virtual void DidCommit() = 0;
« no previous file with comments | « cc/trees/layer_tree_host.cc ('k') | cc/trees/layer_tree_host_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698