| 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_LAYER_TREE_IMPL_H_ | 5 #ifndef CC_LAYER_TREE_IMPL_H_ |
| 6 #define CC_LAYER_TREE_IMPL_H_ | 6 #define CC_LAYER_TREE_IMPL_H_ |
| 7 | 7 |
| 8 #include "base/hash_tables.h" | 8 #include "base/hash_tables.h" |
| 9 #include "cc/layer_impl.h" | 9 #include "cc/layer_impl.h" |
| 10 | 10 |
| (...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 205 | 205 |
| 206 // Persisted state for non-impl-side-painting. | 206 // Persisted state for non-impl-side-painting. |
| 207 int scrolling_layer_id_from_previous_tree_; | 207 int scrolling_layer_id_from_previous_tree_; |
| 208 | 208 |
| 209 // List of visible layers for the most recently prepared frame. Used for | 209 // List of visible layers for the most recently prepared frame. Used for |
| 210 // rendering and input event hit testing. | 210 // rendering and input event hit testing. |
| 211 LayerList render_surface_layer_list_; | 211 LayerList render_surface_layer_list_; |
| 212 | 212 |
| 213 bool contents_textures_purged_; | 213 bool contents_textures_purged_; |
| 214 bool needs_update_draw_properties_; | 214 bool needs_update_draw_properties_; |
| 215 bool needs_update_tile_priorities_; |
| 215 | 216 |
| 216 // In impl-side painting mode, this is true when the tree may contain | 217 // In impl-side painting mode, this is true when the tree may contain |
| 217 // structural differences relative to the active tree. | 218 // structural differences relative to the active tree. |
| 218 bool needs_full_tree_sync_; | 219 bool needs_full_tree_sync_; |
| 219 | 220 |
| 220 DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl); | 221 DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl); |
| 221 }; | 222 }; |
| 222 | 223 |
| 223 } | 224 } |
| 224 | 225 |
| 225 #endif // CC_LAYER_TREE_IMPL_H_ | 226 #endif // CC_LAYER_TREE_IMPL_H_ |
| OLD | NEW |