| 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 #include "SkBmpCodec.h" | 8 #include "SkBmpCodec.h" |
| 9 #include "SkImageInfo.h" | 9 #include "SkImageInfo.h" |
| 10 #include "SkMaskSwizzler.h" | 10 #include "SkMaskSwizzler.h" |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 48 SkSampler* getSampler(bool createIfNecessary) override { | 48 SkSampler* getSampler(bool createIfNecessary) override { |
| 49 SkASSERT(fMaskSwizzler); | 49 SkASSERT(fMaskSwizzler); |
| 50 return fMaskSwizzler; | 50 return fMaskSwizzler; |
| 51 } | 51 } |
| 52 | 52 |
| 53 int decodeRows(const SkImageInfo& dstInfo, void* dst, size_t dstRowBytes, | 53 int decodeRows(const SkImageInfo& dstInfo, void* dst, size_t dstRowBytes, |
| 54 const Options& opts) override; | 54 const Options& opts) override; |
| 55 | 55 |
| 56 SkAutoTDelete<SkMasks> fMasks; // owned | 56 SkAutoTDelete<SkMasks> fMasks; // owned |
| 57 SkAutoTDelete<SkMaskSwizzler> fMaskSwizzler; | 57 SkAutoTDelete<SkMaskSwizzler> fMaskSwizzler; |
| 58 const size_t fSrcRowBytes; | |
| 59 SkAutoTDeleteArray<uint8_t> fSrcBuffer; | 58 SkAutoTDeleteArray<uint8_t> fSrcBuffer; |
| 60 | 59 |
| 61 typedef SkBmpCodec INHERITED; | 60 typedef SkBmpCodec INHERITED; |
| 62 }; | 61 }; |
| OLD | NEW |