| 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 245 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 256 struct CC_EXPORT EffectNodeData { | 256 struct CC_EXPORT EffectNodeData { |
| 257 EffectNodeData(); | 257 EffectNodeData(); |
| 258 EffectNodeData(const EffectNodeData& other); | 258 EffectNodeData(const EffectNodeData& other); |
| 259 | 259 |
| 260 float opacity; | 260 float opacity; |
| 261 float screen_space_opacity; | 261 float screen_space_opacity; |
| 262 | 262 |
| 263 bool has_render_surface; | 263 bool has_render_surface; |
| 264 bool has_copy_request; | 264 bool has_copy_request; |
| 265 bool has_background_filters; | 265 bool has_background_filters; |
| 266 bool node_or_ancestor_has_background_filters; |
| 267 bool to_screen_opacity_is_animated; |
| 266 bool is_drawn; | 268 bool is_drawn; |
| 267 bool has_animated_opacity; | 269 bool has_animated_opacity; |
| 268 // We need to track changes to effects on the compositor to compute damage | 270 // We need to track changes to effects on the compositor to compute damage |
| 269 // rect. | 271 // rect. |
| 270 bool effect_changed; | 272 bool effect_changed; |
| 271 int num_copy_requests_in_subtree; | 273 int num_copy_requests_in_subtree; |
| 272 int transform_id; | 274 int transform_id; |
| 273 int clip_id; | 275 int clip_id; |
| 274 | 276 |
| 275 bool operator==(const EffectNodeData& other) const; | 277 bool operator==(const EffectNodeData& other) const; |
| (...skipping 393 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 669 | 671 |
| 670 private: | 672 private: |
| 671 gfx::Vector2dF inner_viewport_container_bounds_delta_; | 673 gfx::Vector2dF inner_viewport_container_bounds_delta_; |
| 672 gfx::Vector2dF outer_viewport_container_bounds_delta_; | 674 gfx::Vector2dF outer_viewport_container_bounds_delta_; |
| 673 gfx::Vector2dF inner_viewport_scroll_bounds_delta_; | 675 gfx::Vector2dF inner_viewport_scroll_bounds_delta_; |
| 674 }; | 676 }; |
| 675 | 677 |
| 676 } // namespace cc | 678 } // namespace cc |
| 677 | 679 |
| 678 #endif // CC_TREES_PROPERTY_TREE_H_ | 680 #endif // CC_TREES_PROPERTY_TREE_H_ |
| OLD | NEW |