OLD | NEW |
1 | 1 |
2 /* | 2 /* |
3 * Copyright 2011 Google Inc. | 3 * Copyright 2011 Google Inc. |
4 * | 4 * |
5 * Use of this source code is governed by a BSD-style license that can be | 5 * Use of this source code is governed by a BSD-style license that can be |
6 * found in the LICENSE file. | 6 * found in the LICENSE file. |
7 */ | 7 */ |
8 #include "Benchmark.h" | 8 #include "Benchmark.h" |
9 #include "SkBitmap.h" | 9 #include "SkBitmap.h" |
10 #include "SkCanvas.h" | 10 #include "SkCanvas.h" |
(...skipping 994 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1005 DEF_BENCH( return new SkBench_AddPathTest(SkBench_AddPathTest::kReversePathTo_Ad
dType); ) | 1005 DEF_BENCH( return new SkBench_AddPathTest(SkBench_AddPathTest::kReversePathTo_Ad
dType); ) |
1006 | 1006 |
1007 DEF_BENCH( return new CirclesBench(FLAGS00); ) | 1007 DEF_BENCH( return new CirclesBench(FLAGS00); ) |
1008 DEF_BENCH( return new CirclesBench(FLAGS01); ) | 1008 DEF_BENCH( return new CirclesBench(FLAGS01); ) |
1009 DEF_BENCH( return new ArbRoundRectBench(false); ) | 1009 DEF_BENCH( return new ArbRoundRectBench(false); ) |
1010 DEF_BENCH( return new ArbRoundRectBench(true); ) | 1010 DEF_BENCH( return new ArbRoundRectBench(true); ) |
1011 DEF_BENCH( return new ConservativelyContainsBench(ConservativelyContainsBench::k
Rect_Type); ) | 1011 DEF_BENCH( return new ConservativelyContainsBench(ConservativelyContainsBench::k
Rect_Type); ) |
1012 DEF_BENCH( return new ConservativelyContainsBench(ConservativelyContainsBench::k
RoundRect_Type); ) | 1012 DEF_BENCH( return new ConservativelyContainsBench(ConservativelyContainsBench::k
RoundRect_Type); ) |
1013 DEF_BENCH( return new ConservativelyContainsBench(ConservativelyContainsBench::k
Oval_Type); ) | 1013 DEF_BENCH( return new ConservativelyContainsBench(ConservativelyContainsBench::k
Oval_Type); ) |
1014 | 1014 |
| 1015 // These seem to be optimized away, which is troublesome for timing. |
| 1016 /* |
1015 DEF_BENCH( return new ConicBench_Chop5() ) | 1017 DEF_BENCH( return new ConicBench_Chop5() ) |
1016 DEF_BENCH( return new ConicBench_ChopHalf() ) | 1018 DEF_BENCH( return new ConicBench_ChopHalf() ) |
1017 DEF_BENCH( return new ConicBench_ComputeError() ) | 1019 DEF_BENCH( return new ConicBench_ComputeError() ) |
1018 DEF_BENCH( return new ConicBench_asQuadTol() ) | 1020 DEF_BENCH( return new ConicBench_asQuadTol() ) |
1019 DEF_BENCH( return new ConicBench_quadPow2() ) | 1021 DEF_BENCH( return new ConicBench_quadPow2() ) |
| 1022 */ |
OLD | NEW |