| 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/cc_export.h" | 8 #include "cc/cc_export.h" |
| 9 #include "cc/layers/layer_collections.h" | 9 #include "cc/layers/layer_collections.h" |
| 10 | 10 |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 60 void CC_EXPORT | 60 void CC_EXPORT |
| 61 ComputeDrawPropertiesOfVisibleLayers(const LayerImplList* layer_list, | 61 ComputeDrawPropertiesOfVisibleLayers(const LayerImplList* layer_list, |
| 62 PropertyTrees* property_trees); | 62 PropertyTrees* property_trees); |
| 63 | 63 |
| 64 void CC_EXPORT ComputeMaskDrawProperties(LayerImpl* mask_layer, | 64 void CC_EXPORT ComputeMaskDrawProperties(LayerImpl* mask_layer, |
| 65 const PropertyTrees* property_trees); | 65 const PropertyTrees* property_trees); |
| 66 | 66 |
| 67 void CC_EXPORT ComputeSurfaceDrawProperties(PropertyTrees* property_trees, | 67 void CC_EXPORT ComputeSurfaceDrawProperties(PropertyTrees* property_trees, |
| 68 RenderSurfaceImpl* render_surface); | 68 RenderSurfaceImpl* render_surface); |
| 69 | 69 |
| 70 bool CC_EXPORT LayerShouldBeSkipped(LayerImpl* layer, | 70 bool CC_EXPORT LayerShouldBeSkippedForDrawPropertiesComputation( |
| 71 const TransformTree& transform_tree, | 71 LayerImpl* layer, |
| 72 const EffectTree& effect_tree); | 72 const TransformTree& transform_tree, |
| 73 const EffectTree& effect_tree); |
| 73 | 74 |
| 74 bool CC_EXPORT LayerNeedsUpdate(Layer* layer, | 75 bool CC_EXPORT LayerNeedsUpdate(Layer* layer, |
| 75 bool layer_is_drawn, | 76 bool layer_is_drawn, |
| 76 const PropertyTrees* property_trees); | 77 const PropertyTrees* property_trees); |
| 77 | 78 |
| 78 bool CC_EXPORT LayerNeedsUpdate(LayerImpl* layer, | 79 bool CC_EXPORT LayerNeedsUpdate(LayerImpl* layer, |
| 79 bool layer_is_drawn, | 80 bool layer_is_drawn, |
| 80 const PropertyTrees* property_trees); | 81 const PropertyTrees* property_trees); |
| 81 | 82 |
| 82 gfx::Transform CC_EXPORT DrawTransform(const LayerImpl* layer, | 83 gfx::Transform CC_EXPORT DrawTransform(const LayerImpl* layer, |
| (...skipping 25 matching lines...) Expand all Loading... |
| 108 | 109 |
| 109 void CC_EXPORT | 110 void CC_EXPORT |
| 110 UpdateElasticOverscroll(PropertyTrees* property_trees, | 111 UpdateElasticOverscroll(PropertyTrees* property_trees, |
| 111 const Layer* overscroll_elasticity_layer, | 112 const Layer* overscroll_elasticity_layer, |
| 112 const gfx::Vector2dF& elastic_overscroll); | 113 const gfx::Vector2dF& elastic_overscroll); |
| 113 | 114 |
| 114 } // namespace draw_property_utils | 115 } // namespace draw_property_utils |
| 115 } // namespace cc | 116 } // namespace cc |
| 116 | 117 |
| 117 #endif // CC_TREES_DRAW_PROPERTY_UTILS_H_ | 118 #endif // CC_TREES_DRAW_PROPERTY_UTILS_H_ |
| OLD | NEW |