Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(816)

Side by Side Diff: cc/trees/layer_tree_host_impl.h

Issue 506733002: Remove unused offscreen_context_provider variable. (Closed) Base URL: http://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 565 matching lines...) Expand 10 before | Expand all | Expand 10 after
576 typedef base::hash_map<UIResourceId, UIResourceData> 576 typedef base::hash_map<UIResourceId, UIResourceData>
577 UIResourceMap; 577 UIResourceMap;
578 UIResourceMap ui_resource_map_; 578 UIResourceMap ui_resource_map_;
579 579
580 // Resources that were evicted by EvictAllUIResources. Resources are removed 580 // Resources that were evicted by EvictAllUIResources. Resources are removed
581 // from this when they are touched by a create or destroy from the UI resource 581 // from this when they are touched by a create or destroy from the UI resource
582 // request queue. 582 // request queue.
583 std::set<UIResourceId> evicted_ui_resources_; 583 std::set<UIResourceId> evicted_ui_resources_;
584 584
585 scoped_ptr<OutputSurface> output_surface_; 585 scoped_ptr<OutputSurface> output_surface_;
586 scoped_refptr<ContextProvider> offscreen_context_provider_;
587 586
588 // |resource_provider_| and |tile_manager_| can be NULL, e.g. when using tile- 587 // |resource_provider_| and |tile_manager_| can be NULL, e.g. when using tile-
589 // free rendering - see OutputSurface::ForcedDrawToSoftwareDevice(). 588 // free rendering - see OutputSurface::ForcedDrawToSoftwareDevice().
590 scoped_ptr<ResourceProvider> resource_provider_; 589 scoped_ptr<ResourceProvider> resource_provider_;
591 scoped_ptr<TileManager> tile_manager_; 590 scoped_ptr<TileManager> tile_manager_;
592 bool use_gpu_rasterization_; 591 bool use_gpu_rasterization_;
593 scoped_ptr<RasterWorkerPool> raster_worker_pool_; 592 scoped_ptr<RasterWorkerPool> raster_worker_pool_;
594 scoped_ptr<ResourcePool> resource_pool_; 593 scoped_ptr<ResourcePool> resource_pool_;
595 scoped_ptr<ResourcePool> staging_resource_pool_; 594 scoped_ptr<ResourcePool> staging_resource_pool_;
596 scoped_ptr<Renderer> renderer_; 595 scoped_ptr<Renderer> renderer_;
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
708 707
709 std::vector<PictureLayerImpl*> picture_layers_; 708 std::vector<PictureLayerImpl*> picture_layers_;
710 std::vector<PictureLayerImpl::Pair> picture_layer_pairs_; 709 std::vector<PictureLayerImpl::Pair> picture_layer_pairs_;
711 710
712 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); 711 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl);
713 }; 712 };
714 713
715 } // namespace cc 714 } // namespace cc
716 715
717 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ 716 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698