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

Unified Diff: cc/test/layer_tree_test.cc

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/test/layer_tree_test.h ('k') | cc/trees/layer_tree_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/layer_tree_test.cc
diff --git a/cc/test/layer_tree_test.cc b/cc/test/layer_tree_test.cc
index 6193d845332e75e702fc5003f1b33e8f012bb5b1..224e2cf31ee9c96907fbb8317742d5734075a1ac 100644
--- a/cc/test/layer_tree_test.cc
+++ b/cc/test/layer_tree_test.cc
@@ -251,8 +251,9 @@ class LayerTreeHostClientForTesting : public LayerTreeHostClient {
test_hooks_->ApplyScrollAndScale(scroll_delta, scale);
}
- virtual scoped_ptr<OutputSurface> CreateOutputSurface() OVERRIDE {
- return test_hooks_->CreateOutputSurface();
+ virtual scoped_ptr<OutputSurface> CreateOutputSurface(bool fallback)
+ OVERRIDE {
+ return test_hooks_->CreateOutputSurface(fallback);
}
virtual void DidInitializeOutputSurface(bool succeeded) OVERRIDE {
@@ -600,7 +601,7 @@ void LayerTreeTest::RunTest(bool threaded,
AfterTest();
}
-scoped_ptr<OutputSurface> LayerTreeTest::CreateOutputSurface() {
+scoped_ptr<OutputSurface> LayerTreeTest::CreateOutputSurface(bool fallback) {
scoped_ptr<FakeOutputSurface> output_surface;
if (delegating_renderer_)
output_surface = FakeOutputSurface::CreateDelegating3d();
« no previous file with comments | « cc/test/layer_tree_test.h ('k') | cc/trees/layer_tree_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698