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

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

Issue 855583002: Revert of Revert of cc: Remove tile rasterize on demand for GPU rasterization (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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/resources/tile_manager.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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/layers/append_quads_data.h" 5 #include "cc/layers/append_quads_data.h"
6 #include "cc/layers/content_layer_client.h" 6 #include "cc/layers/content_layer_client.h"
7 #include "cc/layers/picture_layer.h" 7 #include "cc/layers/picture_layer.h"
8 #include "cc/layers/picture_layer_impl.h" 8 #include "cc/layers/picture_layer_impl.h"
9 #include "cc/quads/draw_quad.h" 9 #include "cc/quads/draw_quad.h"
10 #include "cc/test/layer_tree_pixel_test.h" 10 #include "cc/test/layer_tree_pixel_test.h"
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 104
105 RunPixelTest(PIXEL_TEST_GL, 105 RunPixelTest(PIXEL_TEST_GL,
106 layer, 106 layer,
107 base::FilePath(FILE_PATH_LITERAL("blue_yellow.png"))); 107 base::FilePath(FILE_PATH_LITERAL("blue_yellow.png")));
108 } 108 }
109 109
110 TEST_F(LayerTreeHostOnDemandRasterPixelTest, RasterPictureLayer) { 110 TEST_F(LayerTreeHostOnDemandRasterPixelTest, RasterPictureLayer) {
111 RunOnDemandRasterPixelTest(); 111 RunOnDemandRasterPixelTest();
112 } 112 }
113 113
114 class LayerTreeHostOnDemandRasterPixelTestWithGpuRasterizationForced
115 : public LayerTreeHostOnDemandRasterPixelTest {
116 void InitializeSettings(LayerTreeSettings* settings) override {
117 LayerTreeHostOnDemandRasterPixelTest::InitializeSettings(settings);
118 settings->gpu_rasterization_forced = true;
119 }
120 };
121
122 TEST_F(LayerTreeHostOnDemandRasterPixelTestWithGpuRasterizationForced,
123 RasterPictureLayer) {
124 RunOnDemandRasterPixelTest();
125 }
126
127 } // namespace 114 } // namespace
128 } // namespace cc 115 } // namespace cc
129 116
130 #endif // OS_ANDROID 117 #endif // OS_ANDROID
OLDNEW
« no previous file with comments | « cc/resources/tile_manager.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698