OLD | NEW |
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/resources/raster_worker_pool.h" | 5 #include "cc/resources/raster_worker_pool.h" |
6 | 6 |
7 #include "base/time/time.h" | 7 #include "base/time/time.h" |
8 #include "cc/test/lap_timer.h" | 8 #include "cc/test/lap_timer.h" |
9 #include "testing/gtest/include/gtest/gtest.h" | 9 #include "testing/gtest/include/gtest/gtest.h" |
10 #include "testing/perf/perf_test.h" | 10 #include "testing/perf/perf_test.h" |
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
157 it != image_decode_tasks.end(); ++it) | 157 it != image_decode_tasks.end(); ++it) |
158 decode_tasks.Insert(*it); | 158 decode_tasks.Insert(*it); |
159 | 159 |
160 tasks->Append( | 160 tasks->Append( |
161 RasterWorkerPool::CreateRasterTask( | 161 RasterWorkerPool::CreateRasterTask( |
162 NULL, | 162 NULL, |
163 NULL, | 163 NULL, |
164 gfx::Rect(), | 164 gfx::Rect(), |
165 1.0, | 165 1.0, |
166 HIGH_QUALITY_RASTER_MODE, | 166 HIGH_QUALITY_RASTER_MODE, |
167 false, | |
168 TileResolution(), | 167 TileResolution(), |
169 1, | 168 1, |
170 NULL, | 169 NULL, |
171 1, | 170 1, |
172 NULL, | 171 NULL, |
173 base::Bind(&RasterWorkerPoolPerfTest::OnRasterTaskCompleted), | 172 base::Bind(&RasterWorkerPoolPerfTest::OnRasterTaskCompleted), |
174 &decode_tasks), | 173 &decode_tasks), |
175 false); | 174 false); |
176 } | 175 } |
177 } | 176 } |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
212 RunBuildTaskGraphTest("100_4", 100, 4); | 211 RunBuildTaskGraphTest("100_4", 100, 4); |
213 RunBuildTaskGraphTest("1000_4", 1000, 4); | 212 RunBuildTaskGraphTest("1000_4", 1000, 4); |
214 RunBuildTaskGraphTest("10_16", 10, 16); | 213 RunBuildTaskGraphTest("10_16", 10, 16); |
215 RunBuildTaskGraphTest("100_16", 100, 16); | 214 RunBuildTaskGraphTest("100_16", 100, 16); |
216 RunBuildTaskGraphTest("1000_16", 1000, 16); | 215 RunBuildTaskGraphTest("1000_16", 1000, 16); |
217 } | 216 } |
218 | 217 |
219 } // namespace | 218 } // namespace |
220 | 219 |
221 } // namespace cc | 220 } // namespace cc |
OLD | NEW |