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 #ifndef CC_TEST_LAYER_TREE_TEST_H_ | 5 #ifndef CC_TEST_LAYER_TREE_TEST_H_ |
6 #define CC_TEST_LAYER_TREE_TEST_H_ | 6 #define CC_TEST_LAYER_TREE_TEST_H_ |
7 | 7 |
8 #include "base/memory/ref_counted.h" | 8 #include "base/memory/ref_counted.h" |
9 #include "base/threading/thread.h" | 9 #include "base/threading/thread.h" |
10 #include "cc/animation/animation_delegate.h" | 10 #include "cc/animation/animation_delegate.h" |
| 11 #include "cc/layers/layer_settings.h" |
11 #include "cc/trees/layer_tree_host.h" | 12 #include "cc/trees/layer_tree_host.h" |
12 #include "cc/trees/layer_tree_host_impl.h" | 13 #include "cc/trees/layer_tree_host_impl.h" |
13 #include "testing/gtest/include/gtest/gtest.h" | 14 #include "testing/gtest/include/gtest/gtest.h" |
14 | 15 |
15 namespace cc { | 16 namespace cc { |
16 class AnimationPlayer; | 17 class AnimationPlayer; |
17 class FakeExternalBeginFrameSource; | 18 class FakeExternalBeginFrameSource; |
18 class FakeLayerTreeHostClient; | 19 class FakeLayerTreeHostClient; |
19 class FakeOutputSurface; | 20 class FakeOutputSurface; |
20 class LayerImpl; | 21 class LayerImpl; |
(...skipping 350 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
371 #define SINGLE_AND_MULTI_THREAD_TEST_F(TEST_FIXTURE_NAME) \ | 372 #define SINGLE_AND_MULTI_THREAD_TEST_F(TEST_FIXTURE_NAME) \ |
372 SINGLE_AND_MULTI_THREAD_DIRECT_RENDERER_TEST_F(TEST_FIXTURE_NAME); \ | 373 SINGLE_AND_MULTI_THREAD_DIRECT_RENDERER_TEST_F(TEST_FIXTURE_NAME); \ |
373 SINGLE_AND_MULTI_THREAD_DELEGATING_RENDERER_TEST_F(TEST_FIXTURE_NAME) | 374 SINGLE_AND_MULTI_THREAD_DELEGATING_RENDERER_TEST_F(TEST_FIXTURE_NAME) |
374 | 375 |
375 // Some tests want to control when notify ready for activation occurs, | 376 // Some tests want to control when notify ready for activation occurs, |
376 // but this is not supported in the single-threaded case. | 377 // but this is not supported in the single-threaded case. |
377 #define MULTI_THREAD_BLOCKNOTIFY_TEST_F(TEST_FIXTURE_NAME) \ | 378 #define MULTI_THREAD_BLOCKNOTIFY_TEST_F(TEST_FIXTURE_NAME) \ |
378 MULTI_THREAD_TEST_F(TEST_FIXTURE_NAME) | 379 MULTI_THREAD_TEST_F(TEST_FIXTURE_NAME) |
379 | 380 |
380 #endif // CC_TEST_LAYER_TREE_TEST_H_ | 381 #endif // CC_TEST_LAYER_TREE_TEST_H_ |
OLD | NEW |