| 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_LAYERS_PICTURE_LAYER_IMPL_H_ | 5 #ifndef CC_LAYERS_PICTURE_LAYER_IMPL_H_ |
| 6 #define CC_LAYERS_PICTURE_LAYER_IMPL_H_ | 6 #define CC_LAYERS_PICTURE_LAYER_IMPL_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 196 bool raster_source_scale_is_fixed_; | 196 bool raster_source_scale_is_fixed_; |
| 197 bool was_screen_space_transform_animating_; | 197 bool was_screen_space_transform_animating_; |
| 198 bool needs_post_commit_initialization_; | 198 bool needs_post_commit_initialization_; |
| 199 // A sanity state check to make sure UpdateTilePriorities only gets called | 199 // A sanity state check to make sure UpdateTilePriorities only gets called |
| 200 // after a CalculateContentsScale/ManageTilings. | 200 // after a CalculateContentsScale/ManageTilings. |
| 201 bool should_update_tile_priorities_; | 201 bool should_update_tile_priorities_; |
| 202 | 202 |
| 203 // Save a copy of the visible rect and viewport size of the last frame that | 203 // Save a copy of the visible rect and viewport size of the last frame that |
| 204 // has a valid viewport for prioritizing tiles. | 204 // has a valid viewport for prioritizing tiles. |
| 205 gfx::Rect visible_rect_for_tile_priority_; | 205 gfx::Rect visible_rect_for_tile_priority_; |
| 206 gfx::Size viewport_size_for_tile_priority_; | 206 gfx::Rect viewport_rect_for_tile_priority_; |
| 207 gfx::Transform screen_space_transform_for_tile_priority_; | 207 gfx::Transform screen_space_transform_for_tile_priority_; |
| 208 | 208 |
| 209 friend class PictureLayer; | 209 friend class PictureLayer; |
| 210 DISALLOW_COPY_AND_ASSIGN(PictureLayerImpl); | 210 DISALLOW_COPY_AND_ASSIGN(PictureLayerImpl); |
| 211 }; | 211 }; |
| 212 | 212 |
| 213 } // namespace cc | 213 } // namespace cc |
| 214 | 214 |
| 215 #endif // CC_LAYERS_PICTURE_LAYER_IMPL_H_ | 215 #endif // CC_LAYERS_PICTURE_LAYER_IMPL_H_ |
| OLD | NEW |