OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2014 Google Inc. | 2 * Copyright 2014 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 "Resources.h" |
8 #include "SkBenchmark.h" | 9 #include "SkBenchmark.h" |
9 #include "SkCanvas.h" | 10 #include "SkCanvas.h" |
10 #include "SkData.h" | 11 #include "SkData.h" |
11 #include "SkDecodingImageGenerator.h" | 12 #include "SkDecodingImageGenerator.h" |
12 #include "SkImageDecoder.h" | 13 #include "SkImageDecoder.h" |
13 #include "SkOSFile.h" | 14 #include "SkOSFile.h" |
14 #include "SkPixelRef.h" | 15 #include "SkPixelRef.h" |
15 | 16 |
16 #ifndef SK_IGNORE_ETC1_SUPPORT | 17 #ifndef SK_IGNORE_ETC1_SUPPORT |
17 | 18 |
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
225 DEF_BENCH(return new ETCBitmapBench(false, SkBenchmark::kGPU_Backend);) | 226 DEF_BENCH(return new ETCBitmapBench(false, SkBenchmark::kGPU_Backend);) |
226 DEF_BENCH(return new ETCBitmapBench(true, SkBenchmark::kGPU_Backend);) | 227 DEF_BENCH(return new ETCBitmapBench(true, SkBenchmark::kGPU_Backend);) |
227 | 228 |
228 DEF_BENCH(return new ETCBitmapUploadBench(false, SkBenchmark::kRaster_Backend);) | 229 DEF_BENCH(return new ETCBitmapUploadBench(false, SkBenchmark::kRaster_Backend);) |
229 DEF_BENCH(return new ETCBitmapUploadBench(true, SkBenchmark::kRaster_Backend);) | 230 DEF_BENCH(return new ETCBitmapUploadBench(true, SkBenchmark::kRaster_Backend);) |
230 | 231 |
231 DEF_BENCH(return new ETCBitmapUploadBench(false, SkBenchmark::kGPU_Backend);) | 232 DEF_BENCH(return new ETCBitmapUploadBench(false, SkBenchmark::kGPU_Backend);) |
232 DEF_BENCH(return new ETCBitmapUploadBench(true, SkBenchmark::kGPU_Backend);) | 233 DEF_BENCH(return new ETCBitmapUploadBench(true, SkBenchmark::kGPU_Backend);) |
233 | 234 |
234 #endif // SK_IGNORE_ETC1_SUPPORT | 235 #endif // SK_IGNORE_ETC1_SUPPORT |
OLD | NEW |