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

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: git cl format 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
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 2353 matching lines...) Expand 10 before | Expand all | Expand 10 after
2364 } 2364 }
2365 }; 2365 };
2366 2366
2367 MULTI_THREAD_TEST_F( 2367 MULTI_THREAD_TEST_F(
2368 LayerTreeHostTestAbortedCommitDoesntStallSynchronousCompositor); 2368 LayerTreeHostTestAbortedCommitDoesntStallSynchronousCompositor);
2369 2369
2370 class LayerTreeHostTestAbortedCommitDoesntStallDisabledVsync 2370 class LayerTreeHostTestAbortedCommitDoesntStallDisabledVsync
2371 : public LayerTreeHostTestAbortedCommitDoesntStall { 2371 : public LayerTreeHostTestAbortedCommitDoesntStall {
2372 void InitializeSettings(LayerTreeSettings* settings) override { 2372 void InitializeSettings(LayerTreeSettings* settings) override {
2373 LayerTreeHostTestAbortedCommitDoesntStall::InitializeSettings(settings); 2373 LayerTreeHostTestAbortedCommitDoesntStall::InitializeSettings(settings);
2374 settings->renderer_settings.disable_gpu_vsync = true; 2374 settings->renderer_settings.disable_display_vsync = true;
2375 } 2375 }
2376 }; 2376 };
2377 2377
2378 MULTI_THREAD_TEST_F(LayerTreeHostTestAbortedCommitDoesntStallDisabledVsync); 2378 MULTI_THREAD_TEST_F(LayerTreeHostTestAbortedCommitDoesntStallDisabledVsync);
2379 2379
2380 class LayerTreeHostTestUninvertibleTransformDoesNotBlockActivation 2380 class LayerTreeHostTestUninvertibleTransformDoesNotBlockActivation
2381 : public LayerTreeHostTest { 2381 : public LayerTreeHostTest {
2382 protected: 2382 protected:
2383 void InitializeSettings(LayerTreeSettings* settings) override { 2383 void InitializeSettings(LayerTreeSettings* settings) override {
2384 settings->impl_side_painting = true; 2384 settings->impl_side_painting = true;
(...skipping 4364 matching lines...) Expand 10 before | Expand all | Expand 10 after
6749 void AfterTest() override {} 6749 void AfterTest() override {}
6750 6750
6751 scoped_refptr<FakePictureLayer> content_child_layer_; 6751 scoped_refptr<FakePictureLayer> content_child_layer_;
6752 FakeContentLayerClient client_; 6752 FakeContentLayerClient client_;
6753 }; 6753 };
6754 6754
6755 SINGLE_AND_MULTI_THREAD_TEST_F( 6755 SINGLE_AND_MULTI_THREAD_TEST_F(
6756 LayerTreeTestReflectionMaskLayerForSurfaceWithUnclippedChild); 6756 LayerTreeTestReflectionMaskLayerForSurfaceWithUnclippedChild);
6757 6757
6758 } // namespace cc 6758 } // namespace cc
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698