diff options
author | 2015-10-13 12:50:14 -0700 | |
---|---|---|
committer | 2015-10-13 12:50:14 -0700 | |
commit | fdb47571a3b5e72469b67de44e32ac14d9352ab4 (patch) | |
tree | cc98e7952e756c3c8825e7f9af3b280b3fc7b449 /src/codec/SkCodec_libpng.h | |
parent | eb85b8321bc917169ba26c8fce76b64d2e3dfe81 (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/SkCodec_libpng.h')
-rw-r--r-- | src/codec/SkCodec_libpng.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/codec/SkCodec_libpng.h b/src/codec/SkCodec_libpng.h index 6bdf58065b..f003cbd4e0 100644 --- a/src/codec/SkCodec_libpng.h +++ b/src/codec/SkCodec_libpng.h @@ -18,7 +18,6 @@ #endif #include "png.h" -class SkScanlineDecoder; class SkStream; class SkPngCodec : public SkCodec { @@ -27,7 +26,6 @@ public: // Assume IsPng was called and returned true. static SkCodec* NewFromStream(SkStream*); - static SkScanlineDecoder* NewSDFromStream(SkStream*); virtual ~SkPngCodec(); @@ -78,7 +76,6 @@ private: SkSwizzler::SrcConfig fSrcConfig; const int fNumberPasses; int fBitDepth; - AlphaState fAlphaState; bool decodePalette(bool premultiply, int* ctableCount); |