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

Unified Diff: cc/test/layer_tree_test.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/test/layer_tree_pixel_test.cc ('k') | cc/test/layer_tree_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/layer_tree_test.h
diff --git a/cc/test/layer_tree_test.h b/cc/test/layer_tree_test.h
index 61226dd2a3fb0fe0f7ba2f58a0291eda3bba9f0a..fd46acc1c8a77b8207183d9d580194761612b57d 100644
--- a/cc/test/layer_tree_test.h
+++ b/cc/test/layer_tree_test.h
@@ -73,9 +73,9 @@ class TestHooks : public AnimationDelegate {
virtual void NotifyAnimationStarted(double time) OVERRIDE {}
virtual void NotifyAnimationFinished(double time) OVERRIDE {}
- virtual scoped_ptr<OutputSurface> CreateOutputSurface() = 0;
+ virtual scoped_ptr<OutputSurface> CreateOutputSurface(bool fallback) = 0;
virtual scoped_refptr<cc::ContextProvider>
- OffscreenContextProviderForMainThread() = 0;
+ OffscreenContextProviderForMainThread() = 0;
virtual scoped_refptr<cc::ContextProvider>
OffscreenContextProviderForCompositorThread() = 0;
};
@@ -156,9 +156,9 @@ class LayerTreeTest : public testing::Test, public TestHooks {
bool delegating_renderer() const { return delegating_renderer_; }
FakeOutputSurface* output_surface() { return output_surface_; }
- virtual scoped_ptr<OutputSurface> CreateOutputSurface() OVERRIDE;
+ virtual scoped_ptr<OutputSurface> CreateOutputSurface(bool fallback) OVERRIDE;
virtual scoped_refptr<cc::ContextProvider>
- OffscreenContextProviderForMainThread() OVERRIDE;
+ OffscreenContextProviderForMainThread() OVERRIDE;
virtual scoped_refptr<cc::ContextProvider>
OffscreenContextProviderForCompositorThread() OVERRIDE;
« no previous file with comments | « cc/test/layer_tree_pixel_test.cc ('k') | cc/test/layer_tree_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698