OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_TREES_PROPERTY_TREE_H_ | 5 #ifndef CC_TREES_PROPERTY_TREE_H_ |
6 #define CC_TREES_PROPERTY_TREE_H_ | 6 #define CC_TREES_PROPERTY_TREE_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 | 9 |
10 #include <memory> | 10 #include <memory> |
(...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
278 bool has_render_surface; | 278 bool has_render_surface; |
279 RenderSurfaceImpl* render_surface; | 279 RenderSurfaceImpl* render_surface; |
280 bool has_copy_request; | 280 bool has_copy_request; |
281 bool has_background_filters; | 281 bool has_background_filters; |
282 bool hidden_by_backface_visibility; | 282 bool hidden_by_backface_visibility; |
283 bool double_sided; | 283 bool double_sided; |
284 bool is_drawn; | 284 bool is_drawn; |
285 // TODO(jaydasika) : Delete this after implementation of | 285 // TODO(jaydasika) : Delete this after implementation of |
286 // SetHideLayerAndSubtree is cleaned up. (crbug.com/595843) | 286 // SetHideLayerAndSubtree is cleaned up. (crbug.com/595843) |
287 bool subtree_hidden; | 287 bool subtree_hidden; |
288 bool has_animated_opacity; | 288 bool has_potential_opacity_animation; |
| 289 bool is_currently_animating_opacity; |
289 // We need to track changes to effects on the compositor to compute damage | 290 // We need to track changes to effects on the compositor to compute damage |
290 // rect. | 291 // rect. |
291 bool effect_changed; | 292 bool effect_changed; |
292 int num_copy_requests_in_subtree; | 293 int num_copy_requests_in_subtree; |
293 int transform_id; | 294 int transform_id; |
294 int clip_id; | 295 int clip_id; |
295 // Effect node id of which this effect contributes to. | 296 // Effect node id of which this effect contributes to. |
296 int target_id; | 297 int target_id; |
297 | 298 |
298 bool operator==(const EffectNodeData& other) const; | 299 bool operator==(const EffectNodeData& other) const; |
(...skipping 410 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
709 | 710 |
710 private: | 711 private: |
711 gfx::Vector2dF inner_viewport_container_bounds_delta_; | 712 gfx::Vector2dF inner_viewport_container_bounds_delta_; |
712 gfx::Vector2dF outer_viewport_container_bounds_delta_; | 713 gfx::Vector2dF outer_viewport_container_bounds_delta_; |
713 gfx::Vector2dF inner_viewport_scroll_bounds_delta_; | 714 gfx::Vector2dF inner_viewport_scroll_bounds_delta_; |
714 }; | 715 }; |
715 | 716 |
716 } // namespace cc | 717 } // namespace cc |
717 | 718 |
718 #endif // CC_TREES_PROPERTY_TREE_H_ | 719 #endif // CC_TREES_PROPERTY_TREE_H_ |
OLD | NEW |