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 <bitset> | 10 #include <bitset> |
(...skipping 735 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
746 | 746 |
747 OutputSurface* output_surface_; | 747 OutputSurface* output_surface_; |
748 | 748 |
749 std::unique_ptr<ResourceProvider> resource_provider_; | 749 std::unique_ptr<ResourceProvider> resource_provider_; |
750 bool content_is_suitable_for_gpu_rasterization_; | 750 bool content_is_suitable_for_gpu_rasterization_; |
751 bool has_gpu_rasterization_trigger_; | 751 bool has_gpu_rasterization_trigger_; |
752 bool use_gpu_rasterization_; | 752 bool use_gpu_rasterization_; |
753 bool use_msaa_; | 753 bool use_msaa_; |
754 GpuRasterizationStatus gpu_rasterization_status_; | 754 GpuRasterizationStatus gpu_rasterization_status_; |
755 bool tree_resources_for_gpu_rasterization_dirty_; | 755 bool tree_resources_for_gpu_rasterization_dirty_; |
756 std::unique_ptr<RasterBufferProvider> raster_buffer_provider_; | |
757 std::unique_ptr<TileTaskManager> tile_task_manager_; | 756 std::unique_ptr<TileTaskManager> tile_task_manager_; |
758 std::unique_ptr<ResourcePool> resource_pool_; | 757 std::unique_ptr<ResourcePool> resource_pool_; |
759 std::unique_ptr<Renderer> renderer_; | 758 std::unique_ptr<Renderer> renderer_; |
760 std::unique_ptr<ImageDecodeController> image_decode_controller_; | 759 std::unique_ptr<ImageDecodeController> image_decode_controller_; |
761 | 760 |
762 GlobalStateThatImpactsTilePriority global_tile_state_; | 761 GlobalStateThatImpactsTilePriority global_tile_state_; |
763 | 762 |
764 // Tree currently being drawn. | 763 // Tree currently being drawn. |
765 std::unique_ptr<LayerTreeImpl> active_tree_; | 764 std::unique_ptr<LayerTreeImpl> active_tree_; |
766 | 765 |
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
869 fixed_raster_scale_attempted_scale_change_history_; | 868 fixed_raster_scale_attempted_scale_change_history_; |
870 std::unique_ptr<PendingTreeDurationHistogramTimer> | 869 std::unique_ptr<PendingTreeDurationHistogramTimer> |
871 pending_tree_duration_timer_; | 870 pending_tree_duration_timer_; |
872 | 871 |
873 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); | 872 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); |
874 }; | 873 }; |
875 | 874 |
876 } // namespace cc | 875 } // namespace cc |
877 | 876 |
878 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ | 877 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ |
OLD | NEW |