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 "config.h" | 5 #include "config.h" |
6 | 6 |
7 #include "CCLayerTreeHost.h" | 7 #include "CCLayerTreeHost.h" |
8 | 8 |
9 #include "CCGraphicsContext.h" | 9 #include "CCGraphicsContext.h" |
10 #include "CCLayerTreeHostImpl.h" | |
11 #include "CCThreadedTest.h" | 10 #include "CCThreadedTest.h" |
12 #include "base/synchronization/lock.h" | 11 #include "base/synchronization/lock.h" |
13 #include "cc/content_layer.h" | 12 #include "cc/content_layer.h" |
14 #include "cc/content_layer_client.h" | 13 #include "cc/content_layer_client.h" |
| 14 #include "cc/layer_tree_host_impl.h" |
15 #include "cc/settings.h" | 15 #include "cc/settings.h" |
16 #include "cc/single_thread_proxy.h" | 16 #include "cc/single_thread_proxy.h" |
17 #include "cc/test/fake_web_compositor_output_surface.h" | 17 #include "cc/test/fake_web_compositor_output_surface.h" |
18 #include "cc/test/geometry_test_utils.h" | 18 #include "cc/test/geometry_test_utils.h" |
19 #include "cc/test/occlusion_tracker_test_common.h" | 19 #include "cc/test/occlusion_tracker_test_common.h" |
20 #include "cc/texture_update_queue.h" | 20 #include "cc/texture_update_queue.h" |
21 #include "cc/timing_function.h" | 21 #include "cc/timing_function.h" |
22 #include "testing/gmock/include/gmock/gmock.h" | 22 #include "testing/gmock/include/gmock/gmock.h" |
23 #include "third_party/khronos/GLES2/gl2.h" | 23 #include "third_party/khronos/GLES2/gl2.h" |
24 #include "third_party/khronos/GLES2/gl2ext.h" | 24 #include "third_party/khronos/GLES2/gl2ext.h" |
(...skipping 3156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3181 int m_numCommitComplete; | 3181 int m_numCommitComplete; |
3182 int m_numDrawLayers; | 3182 int m_numDrawLayers; |
3183 }; | 3183 }; |
3184 | 3184 |
3185 TEST_F(CCLayerTreeHostTestContinuousAnimate, runMultiThread) | 3185 TEST_F(CCLayerTreeHostTestContinuousAnimate, runMultiThread) |
3186 { | 3186 { |
3187 runTest(true); | 3187 runTest(true); |
3188 } | 3188 } |
3189 | 3189 |
3190 } // namespace | 3190 } // namespace |
OLD | NEW |