OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2015 Google Inc. | 2 * Copyright 2015 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 #ifndef BitmapRegionDecoderBench_DEFINED | 8 #ifndef BitmapRegionDecoderBench_DEFINED |
9 #define BitmapRegionDecoderBench_DEFINED | 9 #define BitmapRegionDecoderBench_DEFINED |
10 | 10 |
(...skipping 26 matching lines...) Expand all Loading... |
37 void onDelayedSetup() override; | 37 void onDelayedSetup() override; |
38 | 38 |
39 private: | 39 private: |
40 SkString fName; | 40 SkString fName; |
41 SkAutoTDelete<SkBitmapRegionDecoderInterface> fBRD; | 41 SkAutoTDelete<SkBitmapRegionDecoderInterface> fBRD; |
42 SkAutoTUnref<SkData> fData; | 42 SkAutoTUnref<SkData> fData; |
43 const SkBitmapRegionDecoderInterface::Strategy fStrategy; | 43 const SkBitmapRegionDecoderInterface::Strategy fStrategy; |
44 const SkColorType fColorType; | 44 const SkColorType fColorType; |
45 const uint32_t fSampleSize; | 45 const uint32_t fSampleSize; |
46 const SkIRect fSubset; | 46 const SkIRect fSubset; |
| 47 SkAutoTUnref<SkColorTable> fColorTable; |
47 typedef Benchmark INHERITED; | 48 typedef Benchmark INHERITED; |
48 }; | 49 }; |
49 #endif // BitmapRegionDecoderBench_DEFINED | 50 #endif // BitmapRegionDecoderBench_DEFINED |
OLD | NEW |