diff options
author | clholgat@chromium.org <clholgat@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-10-15 21:33:56 +0000 |
---|---|---|
committer | clholgat@chromium.org <clholgat@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-10-15 21:33:56 +0000 |
commit | c0f7a7f495d1c10c11e1eaf9a83755d3fe944d06 (patch) | |
tree | 9acd4d89671eb779b5661381ac75aeacaff6ae5c /cc/test | |
parent | 67b194950b1197c0ca2d8626b3f3e0db65bcabfa (diff) | |
download | chromium_src-c0f7a7f495d1c10c11e1eaf9a83755d3fe944d06.zip chromium_src-c0f7a7f495d1c10c11e1eaf9a83755d3fe944d06.tar.gz chromium_src-c0f7a7f495d1c10c11e1eaf9a83755d3fe944d06.tar.bz2 |
Adding threaded, impl-side painted LayerTreePerfTests
Review URL: https://codereview.chromium.org/27036005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@228767 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/test')
-rw-r--r-- | cc/test/layer_tree_test.cc | 4 | ||||
-rw-r--r-- | cc/test/layer_tree_test.h | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/cc/test/layer_tree_test.cc b/cc/test/layer_tree_test.cc index 6a7cf50..da0ed55 100644 --- a/cc/test/layer_tree_test.cc +++ b/cc/test/layer_tree_test.cc @@ -640,6 +640,10 @@ void LayerTreeTest::RunTest(bool threaded, AfterTest(); } +void LayerTreeTest::RunTestWithImplSidePainting() { + RunTest(true, false, true); +} + scoped_ptr<OutputSurface> LayerTreeTest::CreateOutputSurface(bool fallback) { scoped_ptr<FakeOutputSurface> output_surface; if (delegating_renderer_) diff --git a/cc/test/layer_tree_test.h b/cc/test/layer_tree_test.h index d7607fb..f027c06 100644 --- a/cc/test/layer_tree_test.h +++ b/cc/test/layer_tree_test.h @@ -146,6 +146,7 @@ class LayerTreeTest : public testing::Test, public TestHooks { virtual void RunTest(bool threaded, bool delegating_renderer, bool impl_side_painting); + virtual void RunTestWithImplSidePainting(); bool HasImplThread() { return proxy() ? proxy()->HasImplThread() : false; } base::SingleThreadTaskRunner* ImplThreadTaskRunner() { |