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_DRAW_PROPERTY_UTILS_H_ | 5 #ifndef CC_TREES_DRAW_PROPERTY_UTILS_H_ |
6 #define CC_TREES_DRAW_PROPERTY_UTILS_H_ | 6 #define CC_TREES_DRAW_PROPERTY_UTILS_H_ |
7 | 7 |
8 #include "cc/base/cc_export.h" | 8 #include "cc/base/cc_export.h" |
9 #include "cc/layers/layer_collections.h" | 9 #include "cc/layers/layer_collections.h" |
10 | 10 |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
92 bool layer_is_drawn, | 92 bool layer_is_drawn, |
93 const TransformTree& tree); | 93 const TransformTree& tree); |
94 | 94 |
95 bool CC_EXPORT LayerNeedsUpdate(LayerImpl* layer, | 95 bool CC_EXPORT LayerNeedsUpdate(LayerImpl* layer, |
96 bool layer_is_drawn, | 96 bool layer_is_drawn, |
97 const TransformTree& tree); | 97 const TransformTree& tree); |
98 | 98 |
99 void CC_EXPORT VerifyClipTreeCalculations(const LayerImplList& layer_list, | 99 void CC_EXPORT VerifyClipTreeCalculations(const LayerImplList& layer_list, |
100 PropertyTrees* property_trees); | 100 PropertyTrees* property_trees); |
101 | 101 |
| 102 void CC_EXPORT VerifyTransformTreeCalculations(const LayerImplList& layer_list, |
| 103 PropertyTrees* property_trees); |
| 104 |
102 gfx::Transform CC_EXPORT DrawTransform(const LayerImpl* layer, | 105 gfx::Transform CC_EXPORT DrawTransform(const LayerImpl* layer, |
103 const TransformTree& tree); | 106 const TransformTree& tree); |
104 | 107 |
105 gfx::Transform CC_EXPORT ScreenSpaceTransform(const Layer* layer, | 108 gfx::Transform CC_EXPORT ScreenSpaceTransform(const Layer* layer, |
106 const TransformTree& tree); | 109 const TransformTree& tree); |
107 | 110 |
108 gfx::Transform CC_EXPORT ScreenSpaceTransform(const LayerImpl* layer, | 111 gfx::Transform CC_EXPORT ScreenSpaceTransform(const LayerImpl* layer, |
109 const TransformTree& tree); | 112 const TransformTree& tree); |
110 | 113 |
111 void CC_EXPORT UpdatePageScaleFactor(PropertyTrees* property_trees, | 114 void CC_EXPORT UpdatePageScaleFactor(PropertyTrees* property_trees, |
(...skipping 15 matching lines...) Expand all Loading... |
127 | 130 |
128 void CC_EXPORT | 131 void CC_EXPORT |
129 UpdateElasticOverscroll(PropertyTrees* property_trees, | 132 UpdateElasticOverscroll(PropertyTrees* property_trees, |
130 const Layer* overscroll_elasticity_layer, | 133 const Layer* overscroll_elasticity_layer, |
131 const gfx::Vector2dF& elastic_overscroll); | 134 const gfx::Vector2dF& elastic_overscroll); |
132 | 135 |
133 } // namespace draw_property_utils | 136 } // namespace draw_property_utils |
134 } // namespace cc | 137 } // namespace cc |
135 | 138 |
136 #endif // CC_TREES_DRAW_PROPERTY_UTILS_H_ | 139 #endif // CC_TREES_DRAW_PROPERTY_UTILS_H_ |
OLD | NEW |