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 1882 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1893 } | 1893 } |
1894 }; | 1894 }; |
1895 | 1895 |
1896 MULTI_THREAD_TEST_F( | 1896 MULTI_THREAD_TEST_F( |
1897 LayerTreeHostTestAbortedCommitDoesntStallSynchronousCompositor); | 1897 LayerTreeHostTestAbortedCommitDoesntStallSynchronousCompositor); |
1898 | 1898 |
1899 class LayerTreeHostTestAbortedCommitDoesntStallDisabledVsync | 1899 class LayerTreeHostTestAbortedCommitDoesntStallDisabledVsync |
1900 : public LayerTreeHostTestAbortedCommitDoesntStall { | 1900 : public LayerTreeHostTestAbortedCommitDoesntStall { |
1901 void InitializeSettings(LayerTreeSettings* settings) override { | 1901 void InitializeSettings(LayerTreeSettings* settings) override { |
1902 LayerTreeHostTestAbortedCommitDoesntStall::InitializeSettings(settings); | 1902 LayerTreeHostTestAbortedCommitDoesntStall::InitializeSettings(settings); |
| 1903 settings->wait_for_beginframe_interval = false; |
1903 settings->renderer_settings.disable_display_vsync = true; | 1904 settings->renderer_settings.disable_display_vsync = true; |
1904 } | 1905 } |
1905 }; | 1906 }; |
1906 | 1907 |
1907 MULTI_THREAD_TEST_F(LayerTreeHostTestAbortedCommitDoesntStallDisabledVsync); | 1908 MULTI_THREAD_TEST_F(LayerTreeHostTestAbortedCommitDoesntStallDisabledVsync); |
1908 | 1909 |
1909 class LayerTreeHostTestUninvertibleTransformDoesNotBlockActivation | 1910 class LayerTreeHostTestUninvertibleTransformDoesNotBlockActivation |
1910 : public LayerTreeHostTest { | 1911 : public LayerTreeHostTest { |
1911 protected: | 1912 protected: |
1912 void SetupTree() override { | 1913 void SetupTree() override { |
(...skipping 4139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6052 void AfterTest() override {} | 6053 void AfterTest() override {} |
6053 | 6054 |
6054 std::vector<int> affected_by_page_scale_; | 6055 std::vector<int> affected_by_page_scale_; |
6055 std::vector<int> not_affected_by_page_scale_; | 6056 std::vector<int> not_affected_by_page_scale_; |
6056 }; | 6057 }; |
6057 | 6058 |
6058 SINGLE_AND_MULTI_THREAD_TEST_F(LayerTreeTestPageScaleFlags); | 6059 SINGLE_AND_MULTI_THREAD_TEST_F(LayerTreeTestPageScaleFlags); |
6059 | 6060 |
6060 } // namespace | 6061 } // namespace |
6061 } // namespace cc | 6062 } // namespace cc |
OLD | NEW |