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/synchronization/lock.h" | 9 #include "base/synchronization/lock.h" |
10 #include "cc/animation/timing_function.h" | 10 #include "cc/animation/timing_function.h" |
11 #include "cc/debug/frame_rate_counter.h" | 11 #include "cc/debug/frame_rate_counter.h" |
12 #include "cc/layers/content_layer.h" | 12 #include "cc/layers/content_layer.h" |
13 #include "cc/layers/content_layer_client.h" | 13 #include "cc/layers/content_layer_client.h" |
14 #include "cc/layers/io_surface_layer.h" | 14 #include "cc/layers/io_surface_layer.h" |
15 #include "cc/layers/layer_impl.h" | 15 #include "cc/layers/layer_impl.h" |
16 #include "cc/layers/picture_layer.h" | 16 #include "cc/layers/picture_layer.h" |
17 #include "cc/layers/scrollbar_layer.h" | 17 #include "cc/layers/scrollbar_layer.h" |
| 18 #include "cc/output/begin_frame_args.h" |
18 #include "cc/output/copy_output_request.h" | 19 #include "cc/output/copy_output_request.h" |
19 #include "cc/output/output_surface.h" | 20 #include "cc/output/output_surface.h" |
20 #include "cc/resources/prioritized_resource.h" | 21 #include "cc/resources/prioritized_resource.h" |
21 #include "cc/resources/prioritized_resource_manager.h" | 22 #include "cc/resources/prioritized_resource_manager.h" |
22 #include "cc/resources/resource_update_queue.h" | 23 #include "cc/resources/resource_update_queue.h" |
23 #include "cc/scheduler/frame_rate_controller.h" | 24 #include "cc/scheduler/frame_rate_controller.h" |
24 #include "cc/test/fake_content_layer.h" | 25 #include "cc/test/fake_content_layer.h" |
25 #include "cc/test/fake_content_layer_client.h" | 26 #include "cc/test/fake_content_layer_client.h" |
26 #include "cc/test/fake_layer_tree_host_client.h" | 27 #include "cc/test/fake_layer_tree_host_client.h" |
27 #include "cc/test/fake_output_surface.h" | 28 #include "cc/test/fake_output_surface.h" |
(...skipping 2822 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2850 private: | 2851 private: |
2851 FakeContentLayerClient client_; | 2852 FakeContentLayerClient client_; |
2852 scoped_refptr<FakePictureLayer> layer_; | 2853 scoped_refptr<FakePictureLayer> layer_; |
2853 bool initialized_gl_; | 2854 bool initialized_gl_; |
2854 }; | 2855 }; |
2855 | 2856 |
2856 MULTI_THREAD_TEST_F(LayerTreeHostTestDeferredInitialize); | 2857 MULTI_THREAD_TEST_F(LayerTreeHostTestDeferredInitialize); |
2857 | 2858 |
2858 } // namespace | 2859 } // namespace |
2859 } // namespace cc | 2860 } // namespace cc |
OLD | NEW |