| 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 <unordered_map> | 10 #include <unordered_map> |
| (...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 264 float screen_space_opacity; | 264 float screen_space_opacity; |
| 265 | 265 |
| 266 bool has_render_surface; | 266 bool has_render_surface; |
| 267 RenderSurfaceImpl* render_surface; | 267 RenderSurfaceImpl* render_surface; |
| 268 bool has_copy_request; | 268 bool has_copy_request; |
| 269 bool has_background_filters; | 269 bool has_background_filters; |
| 270 bool hidden_by_backface_visibility; | 270 bool hidden_by_backface_visibility; |
| 271 bool double_sided; | 271 bool double_sided; |
| 272 bool is_drawn; | 272 bool is_drawn; |
| 273 bool has_animated_opacity; | 273 bool has_animated_opacity; |
| 274 bool is_currently_animating_opacity; |
| 274 // We need to track changes to effects on the compositor to compute damage | 275 // We need to track changes to effects on the compositor to compute damage |
| 275 // rect. | 276 // rect. |
| 276 bool effect_changed; | 277 bool effect_changed; |
| 277 int num_copy_requests_in_subtree; | 278 int num_copy_requests_in_subtree; |
| 278 int transform_id; | 279 int transform_id; |
| 279 int clip_id; | 280 int clip_id; |
| 280 // Effect node id of which this effect contributes to. | 281 // Effect node id of which this effect contributes to. |
| 281 int target_id; | 282 int target_id; |
| 282 | 283 |
| 283 bool operator==(const EffectNodeData& other) const; | 284 bool operator==(const EffectNodeData& other) const; |
| (...skipping 402 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 686 | 687 |
| 687 private: | 688 private: |
| 688 gfx::Vector2dF inner_viewport_container_bounds_delta_; | 689 gfx::Vector2dF inner_viewport_container_bounds_delta_; |
| 689 gfx::Vector2dF outer_viewport_container_bounds_delta_; | 690 gfx::Vector2dF outer_viewport_container_bounds_delta_; |
| 690 gfx::Vector2dF inner_viewport_scroll_bounds_delta_; | 691 gfx::Vector2dF inner_viewport_scroll_bounds_delta_; |
| 691 }; | 692 }; |
| 692 | 693 |
| 693 } // namespace cc | 694 } // namespace cc |
| 694 | 695 |
| 695 #endif // CC_TREES_PROPERTY_TREE_H_ | 696 #endif // CC_TREES_PROPERTY_TREE_H_ |
| OLD | NEW |