Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(342)

Unified Diff: dm/DMSrcSink.h

Issue 999173010: Test scanline decoding in DM. (Closed) Base URL: https://skia.googlesource.com/skia.git@scanlineDecoder3
Patch Set: Fix order of output Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « dm/DM.cpp ('k') | dm/DMSrcSink.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dm/DMSrcSink.h
diff --git a/dm/DMSrcSink.h b/dm/DMSrcSink.h
index 1c56be7d5aa03f72f0a1dc082bd594845fb35cb3..3a0eab020fd692a1a12a3f00ba987166075c701b 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;
};
« no previous file with comments | « dm/DM.cpp ('k') | dm/DMSrcSink.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698