| 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 <set> | 8 #include <set> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 592 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 603 | 603 |
| 604 // Resources that were evicted by EvictAllUIResources. Resources are removed | 604 // Resources that were evicted by EvictAllUIResources. Resources are removed |
| 605 // from this when they are touched by a create or destroy from the UI resource | 605 // from this when they are touched by a create or destroy from the UI resource |
| 606 // request queue. | 606 // request queue. |
| 607 std::set<UIResourceId> evicted_ui_resources_; | 607 std::set<UIResourceId> evicted_ui_resources_; |
| 608 | 608 |
| 609 scoped_ptr<OutputSurface> output_surface_; | 609 scoped_ptr<OutputSurface> output_surface_; |
| 610 | 610 |
| 611 // |resource_provider_| and |tile_manager_| can be NULL, e.g. when using tile- | 611 // |resource_provider_| and |tile_manager_| can be NULL, e.g. when using tile- |
| 612 // free rendering - see OutputSurface::ForcedDrawToSoftwareDevice(). | 612 // free rendering - see OutputSurface::ForcedDrawToSoftwareDevice(). |
| 613 // |tile_manager_| can also be NULL when raster_enabled is false. |
| 613 scoped_ptr<ResourceProvider> resource_provider_; | 614 scoped_ptr<ResourceProvider> resource_provider_; |
| 614 scoped_ptr<TileManager> tile_manager_; | 615 scoped_ptr<TileManager> tile_manager_; |
| 615 bool use_gpu_rasterization_; | 616 bool use_gpu_rasterization_; |
| 616 GpuRasterizationStatus gpu_rasterization_status_; | 617 GpuRasterizationStatus gpu_rasterization_status_; |
| 617 scoped_ptr<TileTaskWorkerPool> tile_task_worker_pool_; | 618 scoped_ptr<TileTaskWorkerPool> tile_task_worker_pool_; |
| 618 scoped_ptr<Rasterizer> rasterizer_; | 619 scoped_ptr<Rasterizer> rasterizer_; |
| 619 scoped_ptr<ResourcePool> resource_pool_; | 620 scoped_ptr<ResourcePool> resource_pool_; |
| 620 scoped_ptr<ResourcePool> staging_resource_pool_; | 621 scoped_ptr<ResourcePool> staging_resource_pool_; |
| 621 scoped_ptr<Renderer> renderer_; | 622 scoped_ptr<Renderer> renderer_; |
| 622 | 623 |
| (...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 728 bool is_likely_to_require_a_draw_; | 729 bool is_likely_to_require_a_draw_; |
| 729 | 730 |
| 730 scoped_ptr<FrameTimingTracker> frame_timing_tracker_; | 731 scoped_ptr<FrameTimingTracker> frame_timing_tracker_; |
| 731 | 732 |
| 732 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); | 733 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); |
| 733 }; | 734 }; |
| 734 | 735 |
| 735 } // namespace cc | 736 } // namespace cc |
| 736 | 737 |
| 737 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ | 738 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ |
| OLD | NEW |