| 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 27 matching lines...) Expand all Loading... |
| 38 void CC_EXPORT ComputeEffects(EffectTree* effect_tree); | 38 void CC_EXPORT ComputeEffects(EffectTree* effect_tree); |
| 39 | 39 |
| 40 | 40 |
| 41 void CC_EXPORT UpdatePropertyTrees(LayerTreeHost* layer_tree_host, | 41 void CC_EXPORT UpdatePropertyTrees(LayerTreeHost* layer_tree_host, |
| 42 PropertyTrees* property_trees, | 42 PropertyTrees* property_trees, |
| 43 bool can_render_to_separate_surface); | 43 bool can_render_to_separate_surface); |
| 44 | 44 |
| 45 void CC_EXPORT | 45 void CC_EXPORT |
| 46 UpdatePropertyTreesAndRenderSurfaces(LayerImpl* root_layer, | 46 UpdatePropertyTreesAndRenderSurfaces(LayerImpl* root_layer, |
| 47 PropertyTrees* property_trees, | 47 PropertyTrees* property_trees, |
| 48 bool can_render_to_separate_surface); | 48 bool can_render_to_separate_surface, |
| 49 bool can_adjust_raster_scales); |
| 49 | 50 |
| 50 void CC_EXPORT FindLayersThatNeedUpdates(LayerTreeHost* layer_tree_host, | 51 void CC_EXPORT FindLayersThatNeedUpdates(LayerTreeHost* layer_tree_host, |
| 51 const PropertyTrees* property_trees, | 52 const PropertyTrees* property_trees, |
| 52 LayerList* update_layer_list); | 53 LayerList* update_layer_list); |
| 53 | 54 |
| 54 void CC_EXPORT | 55 void CC_EXPORT |
| 55 FindLayersThatNeedUpdates(LayerTreeImpl* layer_tree_impl, | 56 FindLayersThatNeedUpdates(LayerTreeImpl* layer_tree_impl, |
| 56 const PropertyTrees* property_trees, | 57 const PropertyTrees* property_trees, |
| 57 std::vector<LayerImpl*>* visible_layer_list); | 58 std::vector<LayerImpl*>* visible_layer_list); |
| 58 | 59 |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after 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 |