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