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

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

Issue 1469733006: Revert of Enable compositor-thread property trees (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years 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/data/background_filter_on_scaled_layer_gl.png ('k') | cc/trees/layer_tree_settings.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 #include "cc/trees/layer_tree_host_common.h" 5 #include "cc/trees/layer_tree_host_common.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 8
9 #include "base/trace_event/trace_event.h" 9 #include "base/trace_event/trace_event.h"
10 #include "cc/base/math_util.h" 10 #include "cc/base/math_util.h"
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 NULL, 120 NULL,
121 NULL, 121 NULL,
122 gfx::Vector2dF(), 122 gfx::Vector2dF(),
123 NULL, 123 NULL,
124 std::numeric_limits<int>::max() / 2, 124 std::numeric_limits<int>::max() / 2,
125 false, 125 false,
126 false, 126 false,
127 true, 127 true,
128 false, 128 false,
129 true, 129 true,
130 true, 130 false,
131 render_surface_layer_list, 131 render_surface_layer_list,
132 0, 132 0,
133 GetPropertyTrees(root_layer)) { 133 GetPropertyTrees(root_layer)) {
134 DCHECK(root_layer); 134 DCHECK(root_layer);
135 DCHECK(render_surface_layer_list); 135 DCHECK(render_surface_layer_list);
136 } 136 }
137 137
138 LayerTreeHostCommon::CalcDrawPropsImplInputsForTesting:: 138 LayerTreeHostCommon::CalcDrawPropsImplInputsForTesting::
139 CalcDrawPropsImplInputsForTesting(LayerImpl* root_layer, 139 CalcDrawPropsImplInputsForTesting(LayerImpl* root_layer,
140 const gfx::Size& device_viewport_size, 140 const gfx::Size& device_viewport_size,
(...skipping 2732 matching lines...) Expand 10 before | Expand all | Expand 10 after
2873 2873
2874 PropertyTrees* GetPropertyTrees(Layer* layer) { 2874 PropertyTrees* GetPropertyTrees(Layer* layer) {
2875 return layer->layer_tree_host()->property_trees(); 2875 return layer->layer_tree_host()->property_trees();
2876 } 2876 }
2877 2877
2878 PropertyTrees* GetPropertyTrees(LayerImpl* layer) { 2878 PropertyTrees* GetPropertyTrees(LayerImpl* layer) {
2879 return layer->layer_tree_impl()->property_trees(); 2879 return layer->layer_tree_impl()->property_trees();
2880 } 2880 }
2881 2881
2882 } // namespace cc 2882 } // namespace cc
OLDNEW
« no previous file with comments | « cc/test/data/background_filter_on_scaled_layer_gl.png ('k') | cc/trees/layer_tree_settings.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698