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

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

Issue 1859733002: cc: Remove usage of Layer draw_transform (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Resolve comments Created 4 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/layers/painted_scrollbar_layer.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/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
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
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_
OLDNEW
« no previous file with comments | « cc/layers/painted_scrollbar_layer.cc ('k') | cc/trees/draw_property_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698