aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/codec/SkBmpMaskCodec.h
diff options
context:
space:
mode:
authorGravatar msarett <msarett@google.com>2015-10-13 12:50:14 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-10-13 12:50:14 -0700
commitfdb47571a3b5e72469b67de44e32ac14d9352ab4 (patch)
treecc98e7952e756c3c8825e7f9af3b280b3fc7b449 /src/codec/SkBmpMaskCodec.h
parenteb85b8321bc917169ba26c8fce76b64d2e3dfe81 (diff)
Add subsetting to SkScanlineDecoder
This CL allows the SkScanlineDecoder to decode partial scanlines. This is a first step in efficiently implementing subsetting in SkScaledCodec. BUG=skia:4209 Review URL: https://codereview.chromium.org/1390213002
Diffstat (limited to 'src/codec/SkBmpMaskCodec.h')
-rw-r--r--src/codec/SkBmpMaskCodec.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/codec/SkBmpMaskCodec.h b/src/codec/SkBmpMaskCodec.h
index 1c1d1d8c11..4ec868db0e 100644
--- a/src/codec/SkBmpMaskCodec.h
+++ b/src/codec/SkBmpMaskCodec.h
@@ -44,7 +44,7 @@ protected:
private:
- bool initializeSwizzler(const SkImageInfo& dstInfo);
+ bool initializeSwizzler(const SkImageInfo& dstInfo, const Options& options);
SkSampler* getSampler(bool createIfNecessary) override {
SkASSERT(fMaskSwizzler);
return fMaskSwizzler;