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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 ComputeVisibleRectsForTesting(PropertyTrees* property_trees, | 68 ComputeVisibleRectsForTesting(PropertyTrees* property_trees, |
69 bool can_render_to_separate_surface, | 69 bool can_render_to_separate_surface, |
70 LayerList* visible_layer_list); | 70 LayerList* visible_layer_list); |
71 | 71 |
72 void CC_EXPORT ComputeVisibleRects(LayerImpl* root_layer, | 72 void CC_EXPORT ComputeVisibleRects(LayerImpl* root_layer, |
73 PropertyTrees* property_trees, | 73 PropertyTrees* property_trees, |
74 bool can_render_to_separate_surface, | 74 bool can_render_to_separate_surface, |
75 LayerImplList* visible_layer_list); | 75 LayerImplList* visible_layer_list); |
76 | 76 |
77 void CC_EXPORT ComputeLayerDrawProperties(LayerImpl* layer, | 77 void CC_EXPORT ComputeLayerDrawProperties(LayerImpl* layer, |
78 const PropertyTrees* property_trees, | 78 const PropertyTrees* property_trees); |
79 bool layers_always_allowed_lcd_text, | |
80 bool can_use_lcd_text); | |
81 | 79 |
82 void CC_EXPORT ComputeSurfaceDrawProperties(const PropertyTrees* property_trees, | 80 void CC_EXPORT ComputeSurfaceDrawProperties(const PropertyTrees* property_trees, |
83 RenderSurfaceImpl* render_surface); | 81 RenderSurfaceImpl* render_surface); |
84 | 82 |
85 bool CC_EXPORT LayerShouldBeSkipped(LayerImpl* layer, | 83 bool CC_EXPORT LayerShouldBeSkipped(LayerImpl* layer, |
86 bool layer_is_drawn, | 84 bool layer_is_drawn, |
87 const TransformTree& transform_tree, | 85 const TransformTree& transform_tree, |
88 const EffectTree& effect_tree); | 86 const EffectTree& effect_tree); |
89 | 87 |
90 bool CC_EXPORT LayerNeedsUpdate(Layer* layer, | 88 bool CC_EXPORT LayerNeedsUpdate(Layer* layer, |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
126 | 124 |
127 void CC_EXPORT | 125 void CC_EXPORT |
128 UpdateElasticOverscroll(PropertyTrees* property_trees, | 126 UpdateElasticOverscroll(PropertyTrees* property_trees, |
129 const Layer* overscroll_elasticity_layer, | 127 const Layer* overscroll_elasticity_layer, |
130 const gfx::Vector2dF& elastic_overscroll); | 128 const gfx::Vector2dF& elastic_overscroll); |
131 | 129 |
132 } // namespace draw_property_utils | 130 } // namespace draw_property_utils |
133 } // namespace cc | 131 } // namespace cc |
134 | 132 |
135 #endif // CC_TREES_DRAW_PROPERTY_UTILS_H_ | 133 #endif // CC_TREES_DRAW_PROPERTY_UTILS_H_ |
OLD | NEW |