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

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

Issue 812543002: Update from https://crrev.com/308331 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 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/fake_tile_manager.cc ('k') | cc/test/layer_tree_pixel_test.h » ('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_pixel_resource_test.h" 5 #include "cc/test/layer_tree_pixel_resource_test.h"
6 6
7 #include "cc/layers/layer.h" 7 #include "cc/layers/layer.h"
8 #include "cc/resources/bitmap_tile_task_worker_pool.h" 8 #include "cc/resources/bitmap_tile_task_worker_pool.h"
9 #include "cc/resources/gpu_tile_task_worker_pool.h" 9 #include "cc/resources/gpu_tile_task_worker_pool.h"
10 #include "cc/resources/one_copy_tile_task_worker_pool.h" 10 #include "cc/resources/one_copy_tile_task_worker_pool.h"
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after
210 break; 210 break;
211 } 211 }
212 } 212 }
213 213
214 void LayerTreeHostPixelResourceTest::RunPixelResourceTest( 214 void LayerTreeHostPixelResourceTest::RunPixelResourceTest(
215 scoped_refptr<Layer> content_root, 215 scoped_refptr<Layer> content_root,
216 base::FilePath file_name) { 216 base::FilePath file_name) {
217 if (!IsTestCaseSupported(test_case_)) 217 if (!IsTestCaseSupported(test_case_))
218 return; 218 return;
219 RunPixelTest(test_type_, content_root, file_name); 219 RunPixelTest(test_type_, content_root, file_name);
220
221 if (layer_tree_host())
222 EXPECT_TRUE(layer_tree_host()->settings().impl_side_painting);
220 } 223 }
221 224
222 ParameterizedPixelResourceTest::ParameterizedPixelResourceTest() 225 ParameterizedPixelResourceTest::ParameterizedPixelResourceTest()
223 : LayerTreeHostPixelResourceTest(GetParam()) { 226 : LayerTreeHostPixelResourceTest(GetParam()) {
224 } 227 }
225 228
226 } // namespace cc 229 } // namespace cc
OLDNEW
« no previous file with comments | « cc/test/fake_tile_manager.cc ('k') | cc/test/layer_tree_pixel_test.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698