| OLD | NEW |
| 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 Loading... |
| 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_ |
| OLD | NEW |