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/auto_reset.h" | 9 #include "base/auto_reset.h" |
10 #include "base/synchronization/lock.h" | 10 #include "base/synchronization/lock.h" |
11 #include "cc/animation/timing_function.h" | 11 #include "cc/animation/timing_function.h" |
12 #include "cc/base/swap_promise.h" | |
13 #include "cc/debug/frame_rate_counter.h" | 12 #include "cc/debug/frame_rate_counter.h" |
14 #include "cc/layers/content_layer.h" | 13 #include "cc/layers/content_layer.h" |
15 #include "cc/layers/content_layer_client.h" | 14 #include "cc/layers/content_layer_client.h" |
16 #include "cc/layers/io_surface_layer.h" | 15 #include "cc/layers/io_surface_layer.h" |
17 #include "cc/layers/layer_impl.h" | 16 #include "cc/layers/layer_impl.h" |
18 #include "cc/layers/painted_scrollbar_layer.h" | 17 #include "cc/layers/painted_scrollbar_layer.h" |
19 #include "cc/layers/picture_layer.h" | 18 #include "cc/layers/picture_layer.h" |
20 #include "cc/layers/solid_color_layer.h" | 19 #include "cc/layers/solid_color_layer.h" |
21 #include "cc/layers/video_layer.h" | 20 #include "cc/layers/video_layer.h" |
22 #include "cc/output/begin_frame_args.h" | 21 #include "cc/output/begin_frame_args.h" |
23 #include "cc/output/compositor_frame_ack.h" | 22 #include "cc/output/compositor_frame_ack.h" |
24 #include "cc/output/copy_output_request.h" | 23 #include "cc/output/copy_output_request.h" |
25 #include "cc/output/copy_output_result.h" | 24 #include "cc/output/copy_output_result.h" |
26 #include "cc/output/output_surface.h" | 25 #include "cc/output/output_surface.h" |
| 26 #include "cc/output/swap_promise.h" |
27 #include "cc/quads/draw_quad.h" | 27 #include "cc/quads/draw_quad.h" |
28 #include "cc/quads/io_surface_draw_quad.h" | 28 #include "cc/quads/io_surface_draw_quad.h" |
29 #include "cc/quads/tile_draw_quad.h" | 29 #include "cc/quads/tile_draw_quad.h" |
30 #include "cc/resources/prioritized_resource.h" | 30 #include "cc/resources/prioritized_resource.h" |
31 #include "cc/resources/prioritized_resource_manager.h" | 31 #include "cc/resources/prioritized_resource_manager.h" |
32 #include "cc/resources/resource_update_queue.h" | 32 #include "cc/resources/resource_update_queue.h" |
33 #include "cc/test/fake_content_layer.h" | 33 #include "cc/test/fake_content_layer.h" |
34 #include "cc/test/fake_content_layer_client.h" | 34 #include "cc/test/fake_content_layer_client.h" |
35 #include "cc/test/fake_content_layer_impl.h" | 35 #include "cc/test/fake_content_layer_impl.h" |
36 #include "cc/test/fake_layer_tree_host_client.h" | 36 #include "cc/test/fake_layer_tree_host_client.h" |
(...skipping 6319 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6356 | 6356 |
6357 void AfterTest() override {} | 6357 void AfterTest() override {} |
6358 | 6358 |
6359 private: | 6359 private: |
6360 scoped_refptr<Layer> child_; | 6360 scoped_refptr<Layer> child_; |
6361 }; | 6361 }; |
6362 | 6362 |
6363 SINGLE_AND_MULTI_THREAD_TEST_F(LayerPreserveRenderSurfaceFromOutputRequests); | 6363 SINGLE_AND_MULTI_THREAD_TEST_F(LayerPreserveRenderSurfaceFromOutputRequests); |
6364 | 6364 |
6365 } // namespace cc | 6365 } // namespace cc |
OLD | NEW |