| 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/test/remote_proto_channel_bridge.h" | |
| 12 #include "cc/test/test_gpu_memory_buffer_manager.h" | 11 #include "cc/test/test_gpu_memory_buffer_manager.h" |
| 13 #include "cc/test/test_hooks.h" | 12 #include "cc/test/test_hooks.h" |
| 14 #include "cc/test/test_task_graph_runner.h" | 13 #include "cc/test/test_task_graph_runner.h" |
| 15 #include "cc/trees/compositor_mode.h" | 14 #include "cc/trees/compositor_mode.h" |
| 16 #include "cc/trees/layer_tree_host_impl.h" | 15 #include "cc/trees/layer_tree_host_impl.h" |
| 17 #include "cc/trees/layer_tree_host_in_process.h" | 16 #include "cc/trees/layer_tree_host_in_process.h" |
| 18 #include "testing/gtest/include/gtest/gtest.h" | 17 #include "testing/gtest/include/gtest/gtest.h" |
| 19 | 18 |
| 20 namespace cc { | 19 namespace cc { |
| 21 | 20 |
| (...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 240 #define SINGLE_MULTI_AND_REMOTE_TEST_F(TEST_FIXTURE_NAME) \ | 239 #define SINGLE_MULTI_AND_REMOTE_TEST_F(TEST_FIXTURE_NAME) \ |
| 241 SINGLE_AND_MULTI_THREAD_TEST_F(TEST_FIXTURE_NAME); \ | 240 SINGLE_AND_MULTI_THREAD_TEST_F(TEST_FIXTURE_NAME); \ |
| 242 REMOTE_TEST_F(TEST_FIXTURE_NAME) | 241 REMOTE_TEST_F(TEST_FIXTURE_NAME) |
| 243 | 242 |
| 244 // Some tests want to control when notify ready for activation occurs, | 243 // Some tests want to control when notify ready for activation occurs, |
| 245 // but this is not supported in the single-threaded case. | 244 // but this is not supported in the single-threaded case. |
| 246 #define MULTI_THREAD_BLOCKNOTIFY_TEST_F(TEST_FIXTURE_NAME) \ | 245 #define MULTI_THREAD_BLOCKNOTIFY_TEST_F(TEST_FIXTURE_NAME) \ |
| 247 MULTI_THREAD_TEST_F(TEST_FIXTURE_NAME) | 246 MULTI_THREAD_TEST_F(TEST_FIXTURE_NAME) |
| 248 | 247 |
| 249 #endif // CC_TEST_LAYER_TREE_TEST_H_ | 248 #endif // CC_TEST_LAYER_TREE_TEST_H_ |
| OLD | NEW |