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

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

Issue 413863003: cc: Make rect naming consistent in picture layer tiling. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: removed extra patch 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
« 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 282 matching lines...) Expand 10 before | Expand all | Expand 10 after
293 293
294 // Internal data. 294 // Internal data.
295 TilingData tiling_data_; 295 TilingData tiling_data_;
296 TileMap tiles_; // It is not legal to have a NULL tile in the tiles_ map. 296 TileMap tiles_; // It is not legal to have a NULL tile in the tiles_ map.
297 gfx::Rect live_tiles_rect_; 297 gfx::Rect live_tiles_rect_;
298 298
299 // State saved for computing velocities based upon finite differences. 299 // State saved for computing velocities based upon finite differences.
300 double last_impl_frame_time_in_seconds_; 300 double last_impl_frame_time_in_seconds_;
301 gfx::Rect last_visible_rect_in_content_space_; 301 gfx::Rect last_visible_rect_in_content_space_;
302 302
303 gfx::Rect current_visible_rect_in_content_space_; 303 // Iteration rects in content space
304 gfx::Rect current_skewport_; 304 gfx::Rect current_visible_rect_;
305 gfx::Rect current_skewport_rect_;
306 gfx::Rect current_soon_border_rect_;
305 gfx::Rect current_eventually_rect_; 307 gfx::Rect current_eventually_rect_;
306 gfx::Rect current_soon_border_rect_;
307 308
308 std::vector<Tile*> eviction_tiles_cache_; 309 std::vector<Tile*> eviction_tiles_cache_;
309 bool eviction_tiles_cache_valid_; 310 bool eviction_tiles_cache_valid_;
310 TreePriority eviction_cache_tree_priority_; 311 TreePriority eviction_cache_tree_priority_;
311 312
312 private: 313 private:
313 DISALLOW_ASSIGN(PictureLayerTiling); 314 DISALLOW_ASSIGN(PictureLayerTiling);
314 315
315 RectExpansionCache expansion_cache_; 316 RectExpansionCache expansion_cache_;
316 }; 317 };
317 318
318 } // namespace cc 319 } // namespace cc
319 320
320 #endif // CC_RESOURCES_PICTURE_LAYER_TILING_H_ 321 #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