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

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

Issue 1495983003: Reland: Enable compositor-thread property trees (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 NULL, 121 NULL,
122 NULL, 122 NULL,
123 gfx::Vector2dF(), 123 gfx::Vector2dF(),
124 NULL, 124 NULL,
125 std::numeric_limits<int>::max() / 2, 125 std::numeric_limits<int>::max() / 2,
126 false, 126 false,
127 false, 127 false,
128 true, 128 true,
129 false, 129 false,
130 true, 130 true,
131 false, 131 true,
132 render_surface_layer_list, 132 render_surface_layer_list,
133 current_render_surface_layer_list_id, 133 current_render_surface_layer_list_id,
134 GetPropertyTrees(root_layer)) { 134 GetPropertyTrees(root_layer)) {
135 DCHECK(root_layer); 135 DCHECK(root_layer);
136 DCHECK(render_surface_layer_list); 136 DCHECK(render_surface_layer_list);
137 } 137 }
138 138
139 LayerTreeHostCommon::CalcDrawPropsImplInputsForTesting:: 139 LayerTreeHostCommon::CalcDrawPropsImplInputsForTesting::
140 CalcDrawPropsImplInputsForTesting(LayerImpl* root_layer, 140 CalcDrawPropsImplInputsForTesting(LayerImpl* root_layer,
141 const gfx::Size& device_viewport_size, 141 const gfx::Size& device_viewport_size,
(...skipping 2744 matching lines...) Expand 10 before | Expand all | Expand 10 after
2886 2886
2887 PropertyTrees* GetPropertyTrees(Layer* layer) { 2887 PropertyTrees* GetPropertyTrees(Layer* layer) {
2888 return layer->layer_tree_host()->property_trees(); 2888 return layer->layer_tree_host()->property_trees();
2889 } 2889 }
2890 2890
2891 PropertyTrees* GetPropertyTrees(LayerImpl* layer) { 2891 PropertyTrees* GetPropertyTrees(LayerImpl* layer) {
2892 return layer->layer_tree_impl()->property_trees(); 2892 return layer->layer_tree_impl()->property_trees();
2893 } 2893 }
2894 2894
2895 } // namespace cc 2895 } // 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