| 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 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 116 int sorting_context_id; | 116 int sorting_context_id; |
| 117 | 117 |
| 118 // TODO(vollick): will be moved when accelerated effects are implemented. | 118 // TODO(vollick): will be moved when accelerated effects are implemented. |
| 119 bool needs_local_transform_update : 1; | 119 bool needs_local_transform_update : 1; |
| 120 | 120 |
| 121 bool node_and_ancestors_are_animated_or_invertible : 1; | 121 bool node_and_ancestors_are_animated_or_invertible : 1; |
| 122 | 122 |
| 123 bool is_invertible : 1; | 123 bool is_invertible : 1; |
| 124 bool ancestors_are_invertible : 1; | 124 bool ancestors_are_invertible : 1; |
| 125 | 125 |
| 126 bool is_animated : 1; | 126 bool has_potential_animation : 1; |
| 127 bool is_currently_animating : 1; |
| 127 bool to_screen_is_potentially_animated : 1; | 128 bool to_screen_is_potentially_animated : 1; |
| 128 bool has_only_translation_animations : 1; | 129 bool has_only_translation_animations : 1; |
| 129 bool to_screen_has_scale_animation : 1; | 130 bool to_screen_has_scale_animation : 1; |
| 130 | 131 |
| 131 // Flattening, when needed, is only applied to a node's inherited transform, | 132 // Flattening, when needed, is only applied to a node's inherited transform, |
| 132 // never to its local transform. | 133 // never to its local transform. |
| 133 bool flattens_inherited_transform : 1; | 134 bool flattens_inherited_transform : 1; |
| 134 | 135 |
| 135 // This is true if the to_parent transform at every node on the path to the | 136 // This is true if the to_parent transform at every node on the path to the |
| 136 // root is flat. | 137 // root is flat. |
| (...skipping 583 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 720 | 721 |
| 721 private: | 722 private: |
| 722 gfx::Vector2dF inner_viewport_container_bounds_delta_; | 723 gfx::Vector2dF inner_viewport_container_bounds_delta_; |
| 723 gfx::Vector2dF outer_viewport_container_bounds_delta_; | 724 gfx::Vector2dF outer_viewport_container_bounds_delta_; |
| 724 gfx::Vector2dF inner_viewport_scroll_bounds_delta_; | 725 gfx::Vector2dF inner_viewport_scroll_bounds_delta_; |
| 725 }; | 726 }; |
| 726 | 727 |
| 727 } // namespace cc | 728 } // namespace cc |
| 728 | 729 |
| 729 #endif // CC_TREES_PROPERTY_TREE_H_ | 730 #endif // CC_TREES_PROPERTY_TREE_H_ |
| OLD | NEW |