diff options
author | scroggo <scroggo@google.com> | 2015-03-25 13:48:49 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-03-25 13:48:49 -0700 |
commit | 9c59ebc0db7cade1537591813430f7be47123e76 (patch) | |
tree | 9bf9c29f8408d66be2cdaabfcc4fc18f965372f9 /dm/DMSrcSink.h | |
parent | 59f9ec7e9c55e1ada77239bb60de87f31bf9c89a (diff) |
Test scanline decoding in DM.
BUG=skia:3475
Review URL: https://codereview.chromium.org/999173010
Diffstat (limited to 'dm/DMSrcSink.h')
-rw-r--r-- | dm/DMSrcSink.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/dm/DMSrcSink.h b/dm/DMSrcSink.h index 1c56be7d5a..3a0eab020f 100644 --- a/dm/DMSrcSink.h +++ b/dm/DMSrcSink.h @@ -90,13 +90,18 @@ private: class CodecSrc : public Src { public: - explicit CodecSrc(Path path); + enum Mode { + kNormal_Mode, + kScanline_Mode, + }; + CodecSrc(Path, Mode); Error draw(SkCanvas*) const SK_OVERRIDE; SkISize size() const SK_OVERRIDE; Name name() const SK_OVERRIDE; private: Path fPath; + Mode fMode; }; |