| 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 <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| (...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 132 | 132 |
| 133 typedef TreeNode<TransformNodeData> TransformNode; | 133 typedef TreeNode<TransformNodeData> TransformNode; |
| 134 | 134 |
| 135 struct CC_EXPORT ClipNodeData { | 135 struct CC_EXPORT ClipNodeData { |
| 136 ClipNodeData(); | 136 ClipNodeData(); |
| 137 | 137 |
| 138 gfx::RectF clip; | 138 gfx::RectF clip; |
| 139 gfx::RectF combined_clip; | 139 gfx::RectF combined_clip; |
| 140 int transform_id; | 140 int transform_id; |
| 141 int target_id; | 141 int target_id; |
| 142 bool render_surface_applies_clip; |
| 142 }; | 143 }; |
| 143 | 144 |
| 144 typedef TreeNode<ClipNodeData> ClipNode; | 145 typedef TreeNode<ClipNodeData> ClipNode; |
| 145 | 146 |
| 146 struct CC_EXPORT OpacityNodeData { | 147 struct CC_EXPORT OpacityNodeData { |
| 147 OpacityNodeData(); | 148 OpacityNodeData(); |
| 148 | 149 |
| 149 float opacity; | 150 float opacity; |
| 150 float screen_space_opacity; | 151 float screen_space_opacity; |
| 151 }; | 152 }; |
| (...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 321 TransformTree transform_tree; | 322 TransformTree transform_tree; |
| 322 OpacityTree opacity_tree; | 323 OpacityTree opacity_tree; |
| 323 ClipTree clip_tree; | 324 ClipTree clip_tree; |
| 324 bool needs_rebuild; | 325 bool needs_rebuild; |
| 325 int sequence_number; | 326 int sequence_number; |
| 326 }; | 327 }; |
| 327 | 328 |
| 328 } // namespace cc | 329 } // namespace cc |
| 329 | 330 |
| 330 #endif // CC_TREES_PROPERTY_TREE_H_ | 331 #endif // CC_TREES_PROPERTY_TREE_H_ |
| OLD | NEW |