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

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

Issue 563313002: Revert of Generalize scroll parent work in CalculateDrawProperties (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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/trees/layer_tree_host.cc ('k') | cc/trees/layer_tree_host_common.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 2011 The Chromium Authors. All rights reserved. 1 // Copyright 2011 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_LAYER_TREE_HOST_COMMON_H_ 5 #ifndef CC_TREES_LAYER_TREE_HOST_COMMON_H_
6 #define CC_TREES_LAYER_TREE_HOST_COMMON_H_ 6 #define CC_TREES_LAYER_TREE_HOST_COMMON_H_
7 7
8 #include <limits> 8 #include <limits>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after
216 device_viewport_size, 216 device_viewport_size,
217 device_transform, 217 device_transform,
218 1.f, 218 1.f,
219 1.f, 219 1.f,
220 NULL, 220 NULL,
221 std::numeric_limits<int>::max() / 2, 221 std::numeric_limits<int>::max() / 2,
222 false, 222 false,
223 true, 223 true,
224 false, 224 false,
225 render_surface_layer_list, 225 render_surface_layer_list,
226 1) { 226 0) {
227 DCHECK(root_layer); 227 DCHECK(root_layer);
228 DCHECK(render_surface_layer_list); 228 DCHECK(render_surface_layer_list);
229 } 229 }
230 230
231 template <typename LayerType, typename RenderSurfaceLayerListType> 231 template <typename LayerType, typename RenderSurfaceLayerListType>
232 LayerTreeHostCommon::CalcDrawPropsInputsForTesting<LayerType, 232 LayerTreeHostCommon::CalcDrawPropsInputsForTesting<LayerType,
233 RenderSurfaceLayerListType>:: 233 RenderSurfaceLayerListType>::
234 CalcDrawPropsInputsForTesting( 234 CalcDrawPropsInputsForTesting(
235 LayerType* root_layer, 235 LayerType* root_layer,
236 const gfx::Size& device_viewport_size, 236 const gfx::Size& device_viewport_size,
237 RenderSurfaceLayerListType* render_surface_layer_list) 237 RenderSurfaceLayerListType* render_surface_layer_list)
238 : CalcDrawPropsInputs<LayerType, RenderSurfaceLayerListType>( 238 : CalcDrawPropsInputs<LayerType, RenderSurfaceLayerListType>(
239 root_layer, 239 root_layer,
240 device_viewport_size, 240 device_viewport_size,
241 identity_transform_, 241 identity_transform_,
242 1.f, 242 1.f,
243 1.f, 243 1.f,
244 NULL, 244 NULL,
245 std::numeric_limits<int>::max() / 2, 245 std::numeric_limits<int>::max() / 2,
246 false, 246 false,
247 true, 247 true,
248 false, 248 false,
249 render_surface_layer_list, 249 render_surface_layer_list,
250 1) { 250 0) {
251 DCHECK(root_layer); 251 DCHECK(root_layer);
252 DCHECK(render_surface_layer_list); 252 DCHECK(render_surface_layer_list);
253 } 253 }
254 254
255 } // namespace cc 255 } // namespace cc
256 256
257 #endif // CC_TREES_LAYER_TREE_HOST_COMMON_H_ 257 #endif // CC_TREES_LAYER_TREE_HOST_COMMON_H_
OLDNEW
« no previous file with comments | « cc/trees/layer_tree_host.cc ('k') | cc/trees/layer_tree_host_common.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698