| 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 SkCodec_DEFINED | 8 #ifndef SkCodec_DEFINED |
| 9 #define SkCodec_DEFINED | 9 #define SkCodec_DEFINED |
| 10 | 10 |
| (...skipping 576 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 587 * Return an object which will allow forcing scanline decodes to sample in
X. | 587 * Return an object which will allow forcing scanline decodes to sample in
X. |
| 588 * | 588 * |
| 589 * May create a sampler, if one is not currently being used. Otherwise, doe
s | 589 * May create a sampler, if one is not currently being used. Otherwise, doe
s |
| 590 * not affect ownership. | 590 * not affect ownership. |
| 591 * | 591 * |
| 592 * Only valid during scanline decoding. | 592 * Only valid during scanline decoding. |
| 593 */ | 593 */ |
| 594 virtual SkSampler* getSampler(bool /*createIfNecessary*/) { return nullptr;
} | 594 virtual SkSampler* getSampler(bool /*createIfNecessary*/) { return nullptr;
} |
| 595 | 595 |
| 596 friend class SkSampledCodec; | 596 friend class SkSampledCodec; |
| 597 friend class SkIcoCodec; |
| 597 }; | 598 }; |
| 598 #endif // SkCodec_DEFINED | 599 #endif // SkCodec_DEFINED |
| OLD | NEW |