| 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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 84 LayerImplList* visible_layer_list); | 84 LayerImplList* visible_layer_list); |
| 85 | 85 |
| 86 void CC_EXPORT ComputeLayerDrawProperties(LayerImpl* layer, | 86 void CC_EXPORT ComputeLayerDrawProperties(LayerImpl* layer, |
| 87 const PropertyTrees* property_trees, | 87 const PropertyTrees* property_trees, |
| 88 bool layers_always_allowed_lcd_text, | 88 bool layers_always_allowed_lcd_text, |
| 89 bool can_use_lcd_text); | 89 bool can_use_lcd_text); |
| 90 | 90 |
| 91 void CC_EXPORT ComputeSurfaceDrawProperties(const PropertyTrees* property_trees, | 91 void CC_EXPORT ComputeSurfaceDrawProperties(const PropertyTrees* property_trees, |
| 92 RenderSurfaceImpl* render_surface); | 92 RenderSurfaceImpl* render_surface); |
| 93 | 93 |
| 94 gfx::Transform CC_EXPORT DrawTransform(const Layer* layer, | |
| 95 const TransformTree& tree); | |
| 96 | |
| 97 gfx::Transform CC_EXPORT DrawTransform(const LayerImpl* layer, | 94 gfx::Transform CC_EXPORT DrawTransform(const LayerImpl* layer, |
| 98 const TransformTree& tree); | 95 const TransformTree& tree); |
| 99 | 96 |
| 100 gfx::Transform CC_EXPORT ScreenSpaceTransform(const Layer* layer, | 97 gfx::Transform CC_EXPORT ScreenSpaceTransform(const Layer* layer, |
| 101 const TransformTree& tree); | 98 const TransformTree& tree); |
| 102 | 99 |
| 103 gfx::Transform CC_EXPORT ScreenSpaceTransform(const LayerImpl* layer, | 100 gfx::Transform CC_EXPORT ScreenSpaceTransform(const LayerImpl* layer, |
| 104 const TransformTree& tree); | 101 const TransformTree& tree); |
| 105 | 102 |
| 106 void CC_EXPORT UpdatePageScaleFactor(PropertyTrees* property_trees, | 103 void CC_EXPORT UpdatePageScaleFactor(PropertyTrees* property_trees, |
| (...skipping 15 matching lines...) Expand all Loading... |
| 122 | 119 |
| 123 void CC_EXPORT | 120 void CC_EXPORT |
| 124 UpdateElasticOverscroll(PropertyTrees* property_trees, | 121 UpdateElasticOverscroll(PropertyTrees* property_trees, |
| 125 const Layer* overscroll_elasticity_layer, | 122 const Layer* overscroll_elasticity_layer, |
| 126 const gfx::Vector2dF& elastic_overscroll); | 123 const gfx::Vector2dF& elastic_overscroll); |
| 127 | 124 |
| 128 } // namespace draw_property_utils | 125 } // namespace draw_property_utils |
| 129 } // namespace cc | 126 } // namespace cc |
| 130 | 127 |
| 131 #endif // CC_TREES_DRAW_PROPERTY_UTILS_H_ | 128 #endif // CC_TREES_DRAW_PROPERTY_UTILS_H_ |
| OLD | NEW |