OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2013 Google Inc. | 2 * Copyright 2013 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 "SkBlurMaskFilter.h" | 9 #include "SkBlurMaskFilter.h" |
10 #include "SkCanvas.h" | 10 #include "SkCanvas.h" |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
95 info.fPaintBits = 0; | 95 info.fPaintBits = 0; |
96 info.fOffset.set(0, 0); | 96 info.fOffset.set(0, 0); |
97 | 97 |
98 paint = looperBuilder.addLayer(info); | 98 paint = looperBuilder.addLayer(info); |
99 return looperBuilder.detachLooper(); | 99 return looperBuilder.detachLooper(); |
100 } | 100 } |
101 | 101 |
102 typedef Benchmark INHERITED; | 102 typedef Benchmark INHERITED; |
103 }; | 103 }; |
104 | 104 |
105 DEF_BENCH( return SkNEW_ARGS(RectoriBench, ()); ) | 105 DEF_BENCH(return new RectoriBench();) |
OLD | NEW |