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