OLD | NEW |
1 | |
2 /* | 1 /* |
3 * Copyright 2016 Google Inc. | 2 * Copyright 2016 Google Inc. |
4 * | 3 * |
5 * Use of this source code is governed by a BSD-style license that can be | 4 * Use of this source code is governed by a BSD-style license that can be |
6 * found in the LICENSE file. | 5 * found in the LICENSE file. |
7 */ | 6 */ |
8 | 7 |
9 #include "Benchmark.h" | 8 #include "Benchmark.h" |
10 #include "SkCanvas.h" | 9 #include "SkCanvas.h" |
11 #include "SkCommandLineFlags.h" | 10 #include "SkCommandLineFlags.h" |
(...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
280 DEF_BENCH(return new ShapesBench(ShapesBench::kRRect_ShapesType, ShapesBench::kR
Rect_ShapesType, | 279 DEF_BENCH(return new ShapesBench(ShapesBench::kRRect_ShapesType, ShapesBench::kR
Rect_ShapesType, |
281 500, SkISize::Make(32, 32), false);) | 280 500, SkISize::Make(32, 32), false);) |
282 DEF_BENCH(return new ShapesBench(ShapesBench::kRect_ShapesType, ShapesBench::kRe
ct_ShapesType, | 281 DEF_BENCH(return new ShapesBench(ShapesBench::kRect_ShapesType, ShapesBench::kRe
ct_ShapesType, |
283 50, SkISize::Make(500, 500), false);) | 282 50, SkISize::Make(500, 500), false);) |
284 DEF_BENCH(return new ShapesBench(ShapesBench::kRRect_ShapesType, ShapesBench::kR
Rect_ShapesType, | 283 DEF_BENCH(return new ShapesBench(ShapesBench::kRRect_ShapesType, ShapesBench::kR
Rect_ShapesType, |
285 50, SkISize::Make(500, 500), false);) | 284 50, SkISize::Make(500, 500), false);) |
286 | 285 |
287 #if ENABLE_COMMAND_LINE_SHAPES_BENCH | 286 #if ENABLE_COMMAND_LINE_SHAPES_BENCH |
288 DEF_BENCH(return new ShapesBench;) | 287 DEF_BENCH(return new ShapesBench;) |
289 #endif | 288 #endif |
OLD | NEW |