| 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 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 105 // context. | 105 // context. |
| 106 int sorting_context_id; | 106 int sorting_context_id; |
| 107 | 107 |
| 108 // TODO(vollick): will be moved when accelerated effects are implemented. | 108 // TODO(vollick): will be moved when accelerated effects are implemented. |
| 109 bool needs_local_transform_update : 1; | 109 bool needs_local_transform_update : 1; |
| 110 | 110 |
| 111 bool is_invertible : 1; | 111 bool is_invertible : 1; |
| 112 bool ancestors_are_invertible : 1; | 112 bool ancestors_are_invertible : 1; |
| 113 | 113 |
| 114 bool is_animated : 1; | 114 bool is_animated : 1; |
| 115 bool to_screen_is_animated : 1; | 115 bool to_screen_is_potentially_animated : 1; |
| 116 bool has_only_translation_animations : 1; | 116 bool has_only_translation_animations : 1; |
| 117 bool to_screen_has_scale_animation : 1; | 117 bool to_screen_has_scale_animation : 1; |
| 118 | 118 |
| 119 // Flattening, when needed, is only applied to a node's inherited transform, | 119 // Flattening, when needed, is only applied to a node's inherited transform, |
| 120 // never to its local transform. | 120 // never to its local transform. |
| 121 bool flattens_inherited_transform : 1; | 121 bool flattens_inherited_transform : 1; |
| 122 | 122 |
| 123 // This is true if the to_parent transform at every node on the path to the | 123 // This is true if the to_parent transform at every node on the path to the |
| 124 // root is flat. | 124 // root is flat. |
| 125 bool node_and_ancestors_are_flat : 1; | 125 bool node_and_ancestors_are_flat : 1; |
| (...skipping 552 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 678 | 678 |
| 679 private: | 679 private: |
| 680 gfx::Vector2dF inner_viewport_container_bounds_delta_; | 680 gfx::Vector2dF inner_viewport_container_bounds_delta_; |
| 681 gfx::Vector2dF outer_viewport_container_bounds_delta_; | 681 gfx::Vector2dF outer_viewport_container_bounds_delta_; |
| 682 gfx::Vector2dF inner_viewport_scroll_bounds_delta_; | 682 gfx::Vector2dF inner_viewport_scroll_bounds_delta_; |
| 683 }; | 683 }; |
| 684 | 684 |
| 685 } // namespace cc | 685 } // namespace cc |
| 686 | 686 |
| 687 #endif // CC_TREES_PROPERTY_TREE_H_ | 687 #endif // CC_TREES_PROPERTY_TREE_H_ |
| OLD | NEW |