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

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

Issue 1134753005: Turn off verification for property trees (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Turn off in all the places Created 5 years, 7 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_test.cc ('k') | cc/trees/layer_tree_host_unittest_no_message_loop.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 245 matching lines...) Expand 10 before | Expand all | Expand 10 after
256 1.f, 256 1.f,
257 1.f, 257 1.f,
258 NULL, 258 NULL,
259 gfx::Vector2dF(), 259 gfx::Vector2dF(),
260 NULL, 260 NULL,
261 std::numeric_limits<int>::max() / 2, 261 std::numeric_limits<int>::max() / 2,
262 false, 262 false,
263 false, 263 false,
264 true, 264 true,
265 false, 265 false,
266 true, 266 false,
267 render_surface_layer_list, 267 render_surface_layer_list,
268 0, 268 0,
269 GetPropertyTrees(root_layer, &temporary_property_trees)) { 269 GetPropertyTrees(root_layer, &temporary_property_trees)) {
270 DCHECK(root_layer); 270 DCHECK(root_layer);
271 DCHECK(render_surface_layer_list); 271 DCHECK(render_surface_layer_list);
272 } 272 }
273 273
274 template <typename LayerType, typename RenderSurfaceLayerListType> 274 template <typename LayerType, typename RenderSurfaceLayerListType>
275 LayerTreeHostCommon::CalcDrawPropsInputsForTesting<LayerType, 275 LayerTreeHostCommon::CalcDrawPropsInputsForTesting<LayerType,
276 RenderSurfaceLayerListType>:: 276 RenderSurfaceLayerListType>::
277 CalcDrawPropsInputsForTesting( 277 CalcDrawPropsInputsForTesting(
278 LayerType* root_layer, 278 LayerType* root_layer,
279 const gfx::Size& device_viewport_size, 279 const gfx::Size& device_viewport_size,
280 RenderSurfaceLayerListType* render_surface_layer_list) 280 RenderSurfaceLayerListType* render_surface_layer_list)
281 : CalcDrawPropsInputs<LayerType, RenderSurfaceLayerListType>( 281 : CalcDrawPropsInputs<LayerType, RenderSurfaceLayerListType>(
282 root_layer, 282 root_layer,
283 device_viewport_size, 283 device_viewport_size,
284 gfx::Transform(), 284 gfx::Transform(),
285 1.f, 285 1.f,
286 1.f, 286 1.f,
287 NULL, 287 NULL,
288 gfx::Vector2dF(), 288 gfx::Vector2dF(),
289 NULL, 289 NULL,
290 std::numeric_limits<int>::max() / 2, 290 std::numeric_limits<int>::max() / 2,
291 false, 291 false,
292 false, 292 false,
293 true, 293 true,
294 false, 294 false,
295 true, 295 false,
296 render_surface_layer_list, 296 render_surface_layer_list,
297 0, 297 0,
298 GetPropertyTrees(root_layer, &temporary_property_trees)) { 298 GetPropertyTrees(root_layer, &temporary_property_trees)) {
299 DCHECK(root_layer); 299 DCHECK(root_layer);
300 DCHECK(render_surface_layer_list); 300 DCHECK(render_surface_layer_list);
301 } 301 }
302 302
303 } // namespace cc 303 } // namespace cc
304 304
305 #endif // CC_TREES_LAYER_TREE_HOST_COMMON_H_ 305 #endif // CC_TREES_LAYER_TREE_HOST_COMMON_H_
OLDNEW
« no previous file with comments | « cc/test/layer_tree_test.cc ('k') | cc/trees/layer_tree_host_unittest_no_message_loop.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698