| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2011 Google Inc. | 2 * Copyright 2011 Google Inc. |
| 3 * | 3 * |
| 4 * 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 |
| 5 * found in the LICENSE file. | 5 * found in the LICENSE file. |
| 6 */ | 6 */ |
| 7 | 7 |
| 8 #include "Benchmark.h" | 8 #include "Benchmark.h" |
| 9 #include "SkAAClip.h" | 9 #include "SkAAClip.h" |
| 10 #include "SkCanvas.h" | 10 #include "SkCanvas.h" |
| (...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 237 } | 237 } |
| 238 } | 238 } |
| 239 | 239 |
| 240 private: | 240 private: |
| 241 SkRegion fRegion; | 241 SkRegion fRegion; |
| 242 typedef Benchmark INHERITED; | 242 typedef Benchmark INHERITED; |
| 243 }; | 243 }; |
| 244 | 244 |
| 245 //////////////////////////////////////////////////////////////////////////////// | 245 //////////////////////////////////////////////////////////////////////////////// |
| 246 | 246 |
| 247 DEF_BENCH( return SkNEW_ARGS(AAClipBuilderBench, (false, false)); ) | 247 DEF_BENCH(return new AAClipBuilderBench(false, false);) |
| 248 DEF_BENCH( return SkNEW_ARGS(AAClipBuilderBench, (false, true)); ) | 248 DEF_BENCH(return new AAClipBuilderBench(false, true);) |
| 249 DEF_BENCH( return SkNEW_ARGS(AAClipBuilderBench, (true, false)); ) | 249 DEF_BENCH(return new AAClipBuilderBench(true, false);) |
| 250 DEF_BENCH( return SkNEW_ARGS(AAClipBuilderBench, (true, true)); ) | 250 DEF_BENCH(return new AAClipBuilderBench(true, true);) |
| 251 DEF_BENCH( return SkNEW_ARGS(AAClipRegionBench, ()); ) | 251 DEF_BENCH(return new AAClipRegionBench();) |
| 252 DEF_BENCH( return SkNEW_ARGS(AAClipBench, (false, false)); ) | 252 DEF_BENCH(return new AAClipBench(false, false);) |
| 253 DEF_BENCH( return SkNEW_ARGS(AAClipBench, (false, true)); ) | 253 DEF_BENCH(return new AAClipBench(false, true);) |
| 254 DEF_BENCH( return SkNEW_ARGS(AAClipBench, (true, false)); ) | 254 DEF_BENCH(return new AAClipBench(true, false);) |
| 255 DEF_BENCH( return SkNEW_ARGS(AAClipBench, (true, true)); ) | 255 DEF_BENCH(return new AAClipBench(true, true);) |
| 256 DEF_BENCH( return SkNEW_ARGS(NestedAAClipBench, (false)); ) | 256 DEF_BENCH(return new NestedAAClipBench(false);) |
| 257 DEF_BENCH( return SkNEW_ARGS(NestedAAClipBench, (true)); ) | 257 DEF_BENCH(return new NestedAAClipBench(true);) |
| OLD | NEW |