| OLD | NEW |
| 1 | |
| 2 /* | 1 /* |
| 3 * Copyright 2011 Google Inc. | 2 * Copyright 2011 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 #include "Benchmark.h" | 7 #include "Benchmark.h" |
| 9 #include "SkBitmap.h" | 8 #include "SkBitmap.h" |
| 10 #include "SkCanvas.h" | 9 #include "SkCanvas.h" |
| 11 #include "SkDashPathEffect.h" | 10 #include "SkDashPathEffect.h" |
| (...skipping 466 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 478 // hori_2 is just too slow to enable at the moment | 477 // hori_2 is just too slow to enable at the moment |
| 479 DEF_BENCH( return new GiantDashBench(GiantDashBench::kHori_LineType, 2); ) | 478 DEF_BENCH( return new GiantDashBench(GiantDashBench::kHori_LineType, 2); ) |
| 480 DEF_BENCH( return new GiantDashBench(GiantDashBench::kVert_LineType, 2); ) | 479 DEF_BENCH( return new GiantDashBench(GiantDashBench::kVert_LineType, 2); ) |
| 481 DEF_BENCH( return new GiantDashBench(GiantDashBench::kDiag_LineType, 2); ) | 480 DEF_BENCH( return new GiantDashBench(GiantDashBench::kDiag_LineType, 2); ) |
| 482 | 481 |
| 483 DEF_BENCH( return new DashGridBench(1, 1, true); ) | 482 DEF_BENCH( return new DashGridBench(1, 1, true); ) |
| 484 DEF_BENCH( return new DashGridBench(1, 1, false); ) | 483 DEF_BENCH( return new DashGridBench(1, 1, false); ) |
| 485 DEF_BENCH( return new DashGridBench(3, 1, true); ) | 484 DEF_BENCH( return new DashGridBench(3, 1, true); ) |
| 486 DEF_BENCH( return new DashGridBench(3, 1, false); ) | 485 DEF_BENCH( return new DashGridBench(3, 1, false); ) |
| 487 #endif | 486 #endif |
| OLD | NEW |