| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 |
| OLD | NEW |