| 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 "SkBenchmark.h" | 8 #include "SkBenchmark.h" |
| 9 #include "SkBitmap.h" | 9 #include "SkBitmap.h" |
| 10 #include "SkCanvas.h" | 10 #include "SkCanvas.h" |
| (...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 131 } | 131 } |
| 132 } | 132 } |
| 133 | 133 |
| 134 private: | 134 private: |
| 135 typedef SkBenchmark INHERITED; | 135 typedef SkBenchmark INHERITED; |
| 136 }; | 136 }; |
| 137 | 137 |
| 138 DEF_BENCH(return new RepeatTileBench(p, SkBitmap::kARGB_8888_Config, true)) | 138 DEF_BENCH(return new RepeatTileBench(p, SkBitmap::kARGB_8888_Config, true)) |
| 139 DEF_BENCH(return new RepeatTileBench(p, SkBitmap::kARGB_8888_Config, false)) | 139 DEF_BENCH(return new RepeatTileBench(p, SkBitmap::kARGB_8888_Config, false)) |
| 140 DEF_BENCH(return new RepeatTileBench(p, SkBitmap::kRGB_565_Config)) | 140 DEF_BENCH(return new RepeatTileBench(p, SkBitmap::kRGB_565_Config)) |
| 141 DEF_BENCH(return new RepeatTileBench(p, SkBitmap::kARGB_4444_Config)) | |
| 142 DEF_BENCH(return new RepeatTileBench(p, SkBitmap::kIndex8_Config)) | 141 DEF_BENCH(return new RepeatTileBench(p, SkBitmap::kIndex8_Config)) |
| OLD | NEW |