Chromium Code Reviews| 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 <list> | 8 #include <list> |
| 9 #include <set> | 9 #include <set> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 572 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 583 UIResourceMap; | 583 UIResourceMap; |
| 584 UIResourceMap ui_resource_map_; | 584 UIResourceMap ui_resource_map_; |
| 585 | 585 |
| 586 // Resources that were evicted by EvictAllUIResources. Resources are removed | 586 // Resources that were evicted by EvictAllUIResources. Resources are removed |
| 587 // from this when they are touched by a create or destroy from the UI resource | 587 // from this when they are touched by a create or destroy from the UI resource |
| 588 // request queue. | 588 // request queue. |
| 589 std::set<UIResourceId> evicted_ui_resources_; | 589 std::set<UIResourceId> evicted_ui_resources_; |
| 590 | 590 |
| 591 scoped_ptr<OutputSurface> output_surface_; | 591 scoped_ptr<OutputSurface> output_surface_; |
| 592 | 592 |
| 593 // |resource_provider_| and |tile_manager_| can be NULL, e.g. when using tile- | 593 // |resource_provider_| and |tile_manager_| can be NULL,e.g. when using tile- |
|
danakj
2014/10/10 16:47:12
?
| |
| 594 // free rendering - see OutputSurface::ForcedDrawToSoftwareDevice(). | 594 // free rendering - see OutputSurface::ForcedDrawToSoftwareDevice(). |
| 595 scoped_ptr<ResourceProvider> resource_provider_; | 595 scoped_ptr<ResourceProvider> resource_provider_; |
| 596 scoped_ptr<TileManager> tile_manager_; | 596 scoped_ptr<TileManager> tile_manager_; |
| 597 bool use_gpu_rasterization_; | 597 bool use_gpu_rasterization_; |
| 598 scoped_ptr<RasterWorkerPool> raster_worker_pool_; | 598 scoped_ptr<RasterWorkerPool> raster_worker_pool_; |
| 599 scoped_ptr<ResourcePool> resource_pool_; | 599 scoped_ptr<ResourcePool> resource_pool_; |
| 600 scoped_ptr<ResourcePool> staging_resource_pool_; | 600 scoped_ptr<ResourcePool> staging_resource_pool_; |
| 601 scoped_ptr<Renderer> renderer_; | 601 scoped_ptr<Renderer> renderer_; |
| 602 | 602 |
| 603 GlobalStateThatImpactsTilePriority global_tile_state_; | 603 GlobalStateThatImpactsTilePriority global_tile_state_; |
| (...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 709 std::vector<PictureLayerImpl::Pair> picture_layer_pairs_; | 709 std::vector<PictureLayerImpl::Pair> picture_layer_pairs_; |
| 710 | 710 |
| 711 bool requires_high_res_to_draw_; | 711 bool requires_high_res_to_draw_; |
| 712 | 712 |
| 713 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); | 713 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); |
| 714 }; | 714 }; |
| 715 | 715 |
| 716 } // namespace cc | 716 } // namespace cc |
| 717 | 717 |
| 718 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ | 718 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ |
| OLD | NEW |