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

Side by Side Diff: cc/resources/picture_layer_tiling.h

Issue 373603009: cc: Correct scale naming in UpdateTilePriorities (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | cc/resources/picture_layer_tiling.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_RESOURCES_PICTURE_LAYER_TILING_H_ 5 #ifndef CC_RESOURCES_PICTURE_LAYER_TILING_H_
6 #define CC_RESOURCES_PICTURE_LAYER_TILING_H_ 6 #define CC_RESOURCES_PICTURE_LAYER_TILING_H_
7 7
8 #include <utility> 8 #include <utility>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after
205 int bottom_; 205 int bottom_;
206 206
207 friend class PictureLayerTiling; 207 friend class PictureLayerTiling;
208 }; 208 };
209 209
210 void Reset(); 210 void Reset();
211 211
212 void UpdateTilePriorities( 212 void UpdateTilePriorities(
213 WhichTree tree, 213 WhichTree tree,
214 const gfx::Rect& visible_layer_rect, 214 const gfx::Rect& visible_layer_rect,
215 float layer_contents_scale, 215 float ideal_contents_scale,
216 double current_frame_time_in_seconds, 216 double current_frame_time_in_seconds,
217 const OcclusionTracker<LayerImpl>* occlusion_tracker, 217 const OcclusionTracker<LayerImpl>* occlusion_tracker,
218 const LayerImpl* render_target, 218 const LayerImpl* render_target,
219 const gfx::Transform& draw_transform); 219 const gfx::Transform& draw_transform);
220 220
221 // Copies the src_tree priority into the dst_tree priority for all tiles. 221 // Copies the src_tree priority into the dst_tree priority for all tiles.
222 // The src_tree priority is reset to the lowest priority possible. This 222 // The src_tree priority is reset to the lowest priority possible. This
223 // also updates the pile on each tile to be the current client's pile. 223 // also updates the pile on each tile to be the current client's pile.
224 void DidBecomeActive(); 224 void DidBecomeActive();
225 225
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
310 310
311 private: 311 private:
312 DISALLOW_ASSIGN(PictureLayerTiling); 312 DISALLOW_ASSIGN(PictureLayerTiling);
313 313
314 RectExpansionCache expansion_cache_; 314 RectExpansionCache expansion_cache_;
315 }; 315 };
316 316
317 } // namespace cc 317 } // namespace cc
318 318
319 #endif // CC_RESOURCES_PICTURE_LAYER_TILING_H_ 319 #endif // CC_RESOURCES_PICTURE_LAYER_TILING_H_
OLDNEW
« no previous file with comments | « no previous file | cc/resources/picture_layer_tiling.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698