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

Side by Side Diff: cc/test/layer_tree_host_common_test.cc

Issue 1177033008: cc: Turn impl_side_painting and use_one_copy on in LayerTreeSettings. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: implon: fixwebkittests Created 5 years, 6 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_host_common_test.h ('k') | cc/test/layer_tree_json_parser_unittest.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 #include "cc/test/layer_tree_host_common_test.h" 5 #include "cc/test/layer_tree_host_common_test.h"
6 6
7 #include "cc/layers/layer.h" 7 #include "cc/layers/layer.h"
8 #include "cc/layers/layer_impl.h" 8 #include "cc/layers/layer_impl.h"
9 #include "cc/test/fake_layer_tree_host.h" 9 #include "cc/test/fake_layer_tree_host.h"
10 #include "cc/trees/draw_property_utils.h" 10 #include "cc/trees/draw_property_utils.h"
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 153
154 ++render_surface_layer_list_count_; 154 ++render_surface_layer_list_count_;
155 inputs.current_render_surface_layer_list_id = 155 inputs.current_render_surface_layer_list_id =
156 render_surface_layer_list_count_; 156 render_surface_layer_list_count_;
157 157
158 LayerTreeHostCommon::CalculateDrawProperties(&inputs); 158 LayerTreeHostCommon::CalculateDrawProperties(&inputs);
159 } 159 }
160 160
161 scoped_ptr<FakeLayerTreeHost> 161 scoped_ptr<FakeLayerTreeHost>
162 LayerTreeHostCommonTestBase::CreateFakeLayerTreeHost() { 162 LayerTreeHostCommonTestBase::CreateFakeLayerTreeHost() {
163 return FakeLayerTreeHost::Create(&client_); 163 return FakeLayerTreeHost::Create(&client_, &task_graph_runner_);
164 } 164 }
165 165
166 } // namespace cc 166 } // namespace cc
OLDNEW
« no previous file with comments | « cc/test/layer_tree_host_common_test.h ('k') | cc/test/layer_tree_json_parser_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698