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

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

Issue 1132443003: cc: Move raster_source from Tile to PrioritizedTile (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rename var Created 5 years, 7 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 | « cc/trees/layer_tree_host_impl.cc ('k') | cc/trees/layer_tree_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 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_IMPL_H_ 5 #ifndef CC_TREES_LAYER_TREE_IMPL_H_
6 #define CC_TREES_LAYER_TREE_IMPL_H_ 6 #define CC_TREES_LAYER_TREE_IMPL_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 bool RequiresHighResToDraw() const; 112 bool RequiresHighResToDraw() const;
113 bool SmoothnessTakesPriority() const; 113 bool SmoothnessTakesPriority() const;
114 VideoFrameControllerClient* GetVideoFrameControllerClient() const; 114 VideoFrameControllerClient* GetVideoFrameControllerClient() const;
115 115
116 // Tree specific methods exposed to layer-impl tree. 116 // Tree specific methods exposed to layer-impl tree.
117 // --------------------------------------------------------------------------- 117 // ---------------------------------------------------------------------------
118 void SetNeedsRedraw(); 118 void SetNeedsRedraw();
119 119
120 // Tracing methods. 120 // Tracing methods.
121 // --------------------------------------------------------------------------- 121 // ---------------------------------------------------------------------------
122 void GetAllTilesAndPrioritiesForTracing( 122 void GetAllPrioritizedTilesForTracing(
123 std::map<const Tile*, TilePriority>* tile_map) const; 123 std::vector<PrioritizedTile>* prioritized_tiles) const;
124 void AsValueInto(base::trace_event::TracedValue* dict) const; 124 void AsValueInto(base::trace_event::TracedValue* dict) const;
125 125
126 // Other public methods 126 // Other public methods
127 // --------------------------------------------------------------------------- 127 // ---------------------------------------------------------------------------
128 LayerImpl* root_layer() const { return root_layer_.get(); } 128 LayerImpl* root_layer() const { return root_layer_.get(); }
129 void SetRootLayer(scoped_ptr<LayerImpl>); 129 void SetRootLayer(scoped_ptr<LayerImpl>);
130 scoped_ptr<LayerImpl> DetachLayerTree(); 130 scoped_ptr<LayerImpl> DetachLayerTree();
131 131
132 void SetPropertyTrees(const PropertyTrees& property_trees) { 132 void SetPropertyTrees(const PropertyTrees& property_trees) {
133 property_trees_ = property_trees; 133 property_trees_ = property_trees;
(...skipping 292 matching lines...) Expand 10 before | Expand all | Expand 10 after
426 426
427 scoped_ptr<PendingPageScaleAnimation> pending_page_scale_animation_; 427 scoped_ptr<PendingPageScaleAnimation> pending_page_scale_animation_;
428 428
429 private: 429 private:
430 DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl); 430 DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl);
431 }; 431 };
432 432
433 } // namespace cc 433 } // namespace cc
434 434
435 #endif // CC_TREES_LAYER_TREE_IMPL_H_ 435 #endif // CC_TREES_LAYER_TREE_IMPL_H_
OLDNEW
« no previous file with comments | « cc/trees/layer_tree_host_impl.cc ('k') | cc/trees/layer_tree_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698