Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(598)

Side by Side Diff: cc/trees/draw_property_utils.h

Issue 2795963002: cc: Reduce surface contents scale adjustments. (Closed)
Patch Set: apply scale for copy requests Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « cc/test/layer_tree_pixel_test.cc ('k') | cc/trees/draw_property_utils.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « cc/test/layer_tree_pixel_test.cc ('k') | cc/trees/draw_property_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698