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 "cc/layer_tree_host.h" | 7 #include "cc/layer_tree_host.h" |
8 | 8 |
9 #include "CCGraphicsContext.h" | |
10 #include "CCThreadedTest.h" | |
11 #include "base/synchronization/lock.h" | 9 #include "base/synchronization/lock.h" |
12 #include "cc/content_layer.h" | 10 #include "cc/content_layer.h" |
13 #include "cc/content_layer_client.h" | 11 #include "cc/content_layer_client.h" |
| 12 #include "cc/graphics_context.h" |
14 #include "cc/layer_tree_host_impl.h" | 13 #include "cc/layer_tree_host_impl.h" |
15 #include "cc/settings.h" | 14 #include "cc/settings.h" |
16 #include "cc/single_thread_proxy.h" | 15 #include "cc/single_thread_proxy.h" |
17 #include "cc/test/fake_web_compositor_output_surface.h" | 16 #include "cc/test/fake_web_compositor_output_surface.h" |
18 #include "cc/test/geometry_test_utils.h" | 17 #include "cc/test/geometry_test_utils.h" |
| 18 #include "cc/test/layer_tree_test_common.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" |
25 #include <public/Platform.h> | 25 #include <public/Platform.h> |
26 #include <public/WebLayerScrollClient.h> | 26 #include <public/WebLayerScrollClient.h> |
27 #include <public/WebSize.h> | 27 #include <public/WebSize.h> |
28 | 28 |
(...skipping 3148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3177 int m_numCommitComplete; | 3177 int m_numCommitComplete; |
3178 int m_numDrawLayers; | 3178 int m_numDrawLayers; |
3179 }; | 3179 }; |
3180 | 3180 |
3181 TEST_F(LayerTreeHostTestContinuousAnimate, runMultiThread) | 3181 TEST_F(LayerTreeHostTestContinuousAnimate, runMultiThread) |
3182 { | 3182 { |
3183 runTest(true); | 3183 runTest(true); |
3184 } | 3184 } |
3185 | 3185 |
3186 } // namespace | 3186 } // namespace |
OLD | NEW |