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 "SkRandom.h" | 8 #include "SkRandom.h" |
10 #include "SkRegion.h" | 9 #include "SkRegion.h" |
11 #include "SkString.h" | 10 #include "SkString.h" |
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
123 | 122 |
124 DEF_BENCH(return new RegionBench(SMALL, union_proc, "union");) | 123 DEF_BENCH(return new RegionBench(SMALL, union_proc, "union");) |
125 DEF_BENCH(return new RegionBench(SMALL, sect_proc, "intersect");) | 124 DEF_BENCH(return new RegionBench(SMALL, sect_proc, "intersect");) |
126 DEF_BENCH(return new RegionBench(SMALL, diff_proc, "difference");) | 125 DEF_BENCH(return new RegionBench(SMALL, diff_proc, "difference");) |
127 DEF_BENCH(return new RegionBench(SMALL, diffrect_proc, "differencerect");) | 126 DEF_BENCH(return new RegionBench(SMALL, diffrect_proc, "differencerect");) |
128 DEF_BENCH(return new RegionBench(SMALL, diffrectbig_proc, "differencerectbig");) | 127 DEF_BENCH(return new RegionBench(SMALL, diffrectbig_proc, "differencerectbig");) |
129 DEF_BENCH(return new RegionBench(SMALL, containsrect_proc, "containsrect");) | 128 DEF_BENCH(return new RegionBench(SMALL, containsrect_proc, "containsrect");) |
130 DEF_BENCH(return new RegionBench(SMALL, sectsrgn_proc, "intersectsrgn");) | 129 DEF_BENCH(return new RegionBench(SMALL, sectsrgn_proc, "intersectsrgn");) |
131 DEF_BENCH(return new RegionBench(SMALL, sectsrect_proc, "intersectsrect");) | 130 DEF_BENCH(return new RegionBench(SMALL, sectsrect_proc, "intersectsrect");) |
132 DEF_BENCH(return new RegionBench(SMALL, containsxy_proc, "containsxy");) | 131 DEF_BENCH(return new RegionBench(SMALL, containsxy_proc, "containsxy");) |
OLD | NEW |