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_TREES_LAYER_TREE_HOST_IMPL_H_ | 5 #ifndef CC_TREES_LAYER_TREE_HOST_IMPL_H_ |
6 #define CC_TREES_LAYER_TREE_HOST_IMPL_H_ | 6 #define CC_TREES_LAYER_TREE_HOST_IMPL_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 | 9 |
10 #include <memory> | 10 #include <memory> |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 class CompositorFrameMetadata; | 58 class CompositorFrameMetadata; |
59 class DebugRectHistory; | 59 class DebugRectHistory; |
60 class EvictionTilePriorityQueue; | 60 class EvictionTilePriorityQueue; |
61 class FrameRateCounter; | 61 class FrameRateCounter; |
62 class LayerImpl; | 62 class LayerImpl; |
63 class LayerTreeImpl; | 63 class LayerTreeImpl; |
64 class MemoryHistory; | 64 class MemoryHistory; |
65 class PageScaleAnimation; | 65 class PageScaleAnimation; |
66 class PictureLayerImpl; | 66 class PictureLayerImpl; |
67 class RasterTilePriorityQueue; | 67 class RasterTilePriorityQueue; |
| 68 class TileTaskManager; |
68 class TileTaskWorkerPool; | 69 class TileTaskWorkerPool; |
69 class RenderPassDrawQuad; | 70 class RenderPassDrawQuad; |
70 class RenderingStatsInstrumentation; | 71 class RenderingStatsInstrumentation; |
71 class ResourcePool; | 72 class ResourcePool; |
72 class ScrollElasticityHelper; | 73 class ScrollElasticityHelper; |
73 class ScrollbarLayerImplBase; | 74 class ScrollbarLayerImplBase; |
74 class SwapPromise; | 75 class SwapPromise; |
75 class SwapPromiseMonitor; | 76 class SwapPromiseMonitor; |
76 class SynchronousTaskGraphRunner; | 77 class SynchronousTaskGraphRunner; |
77 class TaskGraphRunner; | 78 class TaskGraphRunner; |
(...skipping 673 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
751 | 752 |
752 OutputSurface* output_surface_; | 753 OutputSurface* output_surface_; |
753 | 754 |
754 std::unique_ptr<ResourceProvider> resource_provider_; | 755 std::unique_ptr<ResourceProvider> resource_provider_; |
755 bool content_is_suitable_for_gpu_rasterization_; | 756 bool content_is_suitable_for_gpu_rasterization_; |
756 bool has_gpu_rasterization_trigger_; | 757 bool has_gpu_rasterization_trigger_; |
757 bool use_gpu_rasterization_; | 758 bool use_gpu_rasterization_; |
758 bool use_msaa_; | 759 bool use_msaa_; |
759 GpuRasterizationStatus gpu_rasterization_status_; | 760 GpuRasterizationStatus gpu_rasterization_status_; |
760 bool tree_resources_for_gpu_rasterization_dirty_; | 761 bool tree_resources_for_gpu_rasterization_dirty_; |
761 std::unique_ptr<TileTaskWorkerPool> tile_task_worker_pool_; | 762 std::unique_ptr<TileTaskManager> tile_task_manager_; |
762 std::unique_ptr<ResourcePool> resource_pool_; | 763 std::unique_ptr<ResourcePool> resource_pool_; |
763 std::unique_ptr<Renderer> renderer_; | 764 std::unique_ptr<Renderer> renderer_; |
764 std::unique_ptr<ImageDecodeController> image_decode_controller_; | 765 std::unique_ptr<ImageDecodeController> image_decode_controller_; |
765 | 766 |
766 GlobalStateThatImpactsTilePriority global_tile_state_; | 767 GlobalStateThatImpactsTilePriority global_tile_state_; |
767 | 768 |
768 // Tree currently being drawn. | 769 // Tree currently being drawn. |
769 std::unique_ptr<LayerTreeImpl> active_tree_; | 770 std::unique_ptr<LayerTreeImpl> active_tree_; |
770 | 771 |
771 // In impl-side painting mode, tree with possibly incomplete rasterized | 772 // In impl-side painting mode, tree with possibly incomplete rasterized |
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
871 std::unique_ptr<Viewport> viewport_; | 872 std::unique_ptr<Viewport> viewport_; |
872 | 873 |
873 LayerTreeMutator* mutator_; | 874 LayerTreeMutator* mutator_; |
874 | 875 |
875 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); | 876 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); |
876 }; | 877 }; |
877 | 878 |
878 } // namespace cc | 879 } // namespace cc |
879 | 880 |
880 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ | 881 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ |
OLD | NEW |