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

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

Issue 2164833002: Use surface contents scale from effect tree (3) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comments Created 4 years, 5 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/render_surface_unittest.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 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 bool layer_is_drawn, 102 bool layer_is_drawn,
103 const TransformTree& tree); 103 const TransformTree& tree);
104 104
105 void CC_EXPORT VerifyClipTreeCalculations(const LayerImplList& layer_list, 105 void CC_EXPORT VerifyClipTreeCalculations(const LayerImplList& layer_list,
106 PropertyTrees* property_trees); 106 PropertyTrees* property_trees);
107 107
108 void CC_EXPORT VerifyTransformTreeCalculations(const LayerImplList& layer_list, 108 void CC_EXPORT VerifyTransformTreeCalculations(const LayerImplList& layer_list,
109 PropertyTrees* property_trees); 109 PropertyTrees* property_trees);
110 110
111 gfx::Transform CC_EXPORT DrawTransform(const LayerImpl* layer, 111 gfx::Transform CC_EXPORT DrawTransform(const LayerImpl* layer,
112 const TransformTree& tree); 112 const TransformTree& transform_tree,
113 const EffectTree& effect_tree);
113 114
114 gfx::Transform CC_EXPORT ScreenSpaceTransform(const Layer* layer, 115 gfx::Transform CC_EXPORT ScreenSpaceTransform(const Layer* layer,
115 const TransformTree& tree); 116 const TransformTree& tree);
116 117
117 gfx::Transform CC_EXPORT ScreenSpaceTransform(const LayerImpl* layer, 118 gfx::Transform CC_EXPORT ScreenSpaceTransform(const LayerImpl* layer,
118 const TransformTree& tree); 119 const TransformTree& tree);
119 120
120 void CC_EXPORT UpdatePageScaleFactor(PropertyTrees* property_trees, 121 void CC_EXPORT UpdatePageScaleFactor(PropertyTrees* property_trees,
121 const LayerImpl* page_scale_layer, 122 const LayerImpl* page_scale_layer,
122 float page_scale_factor, 123 float page_scale_factor,
(...skipping 13 matching lines...) Expand all
136 137
137 void CC_EXPORT 138 void CC_EXPORT
138 UpdateElasticOverscroll(PropertyTrees* property_trees, 139 UpdateElasticOverscroll(PropertyTrees* property_trees,
139 const Layer* overscroll_elasticity_layer, 140 const Layer* overscroll_elasticity_layer,
140 const gfx::Vector2dF& elastic_overscroll); 141 const gfx::Vector2dF& elastic_overscroll);
141 142
142 } // namespace draw_property_utils 143 } // namespace draw_property_utils
143 } // namespace cc 144 } // namespace cc
144 145
145 #endif // CC_TREES_DRAW_PROPERTY_UTILS_H_ 146 #endif // CC_TREES_DRAW_PROPERTY_UTILS_H_
OLDNEW
« no previous file with comments | « cc/layers/render_surface_unittest.cc ('k') | cc/trees/draw_property_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698