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

Side by Side Diff: cc/trees/layer_tree_host_unittest.cc

Issue 1177383005: cc: Add command line for frame production throttle (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: hope to be final patch Created 5 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 unified diff | Download patch
« no previous file with comments | « cc/trees/layer_tree_host_perftest.cc ('k') | cc/trees/layer_tree_settings.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2011 The Chromium Authors. All rights reserved. 1 // Copyright 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "cc/trees/layer_tree_host.h" 5 #include "cc/trees/layer_tree_host.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 8
9 #include "base/auto_reset.h" 9 #include "base/auto_reset.h"
10 #include "base/location.h" 10 #include "base/location.h"
(...skipping 1866 matching lines...) Expand 10 before | Expand all | Expand 10 after
1877 } 1877 }
1878 }; 1878 };
1879 1879
1880 MULTI_THREAD_TEST_F( 1880 MULTI_THREAD_TEST_F(
1881 LayerTreeHostTestAbortedCommitDoesntStallSynchronousCompositor); 1881 LayerTreeHostTestAbortedCommitDoesntStallSynchronousCompositor);
1882 1882
1883 class LayerTreeHostTestAbortedCommitDoesntStallDisabledVsync 1883 class LayerTreeHostTestAbortedCommitDoesntStallDisabledVsync
1884 : public LayerTreeHostTestAbortedCommitDoesntStall { 1884 : public LayerTreeHostTestAbortedCommitDoesntStall {
1885 void InitializeSettings(LayerTreeSettings* settings) override { 1885 void InitializeSettings(LayerTreeSettings* settings) override {
1886 LayerTreeHostTestAbortedCommitDoesntStall::InitializeSettings(settings); 1886 LayerTreeHostTestAbortedCommitDoesntStall::InitializeSettings(settings);
1887 settings->renderer_settings.disable_gpu_vsync = true; 1887 settings->renderer_settings.disable_display_vsync = true;
1888 } 1888 }
1889 }; 1889 };
1890 1890
1891 MULTI_THREAD_TEST_F(LayerTreeHostTestAbortedCommitDoesntStallDisabledVsync); 1891 MULTI_THREAD_TEST_F(LayerTreeHostTestAbortedCommitDoesntStallDisabledVsync);
1892 1892
1893 class LayerTreeHostTestUninvertibleTransformDoesNotBlockActivation 1893 class LayerTreeHostTestUninvertibleTransformDoesNotBlockActivation
1894 : public LayerTreeHostTest { 1894 : public LayerTreeHostTest {
1895 protected: 1895 protected:
1896 void SetupTree() override { 1896 void SetupTree() override {
1897 LayerTreeHostTest::SetupTree(); 1897 LayerTreeHostTest::SetupTree();
(...skipping 4138 matching lines...) Expand 10 before | Expand all | Expand 10 after
6036 void AfterTest() override {} 6036 void AfterTest() override {}
6037 6037
6038 std::vector<int> affected_by_page_scale_; 6038 std::vector<int> affected_by_page_scale_;
6039 std::vector<int> not_affected_by_page_scale_; 6039 std::vector<int> not_affected_by_page_scale_;
6040 }; 6040 };
6041 6041
6042 SINGLE_AND_MULTI_THREAD_TEST_F(LayerTreeTestPageScaleFlags); 6042 SINGLE_AND_MULTI_THREAD_TEST_F(LayerTreeTestPageScaleFlags);
6043 6043
6044 } // namespace 6044 } // namespace
6045 } // namespace cc 6045 } // namespace cc
OLDNEW
« no previous file with comments | « cc/trees/layer_tree_host_perftest.cc ('k') | cc/trees/layer_tree_settings.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698