DM testing for skipping and scaling
BUG=skia:
Review URL: https://codereview.chromium.org/1175993005
diff --git a/dm/DMSrcSink.h b/dm/DMSrcSink.h
index bd8c41e..b7c28ed 100644
--- a/dm/DMSrcSink.h
+++ b/dm/DMSrcSink.h
@@ -98,13 +98,14 @@
kNormal_Mode,
kScanline_Mode,
kScanline_Subset_Mode,
+ kStripe_Mode, // Tests the skipping of scanlines
};
enum DstColorType {
kGetFromCanvas_DstColorType,
kIndex8_Always_DstColorType,
kGrayscale_Always_DstColorType,
};
- CodecSrc(Path, Mode, DstColorType);
+ CodecSrc(Path, Mode, DstColorType, float);
Error draw(SkCanvas*) const override;
SkISize size() const override;
@@ -113,6 +114,7 @@
Path fPath;
Mode fMode;
DstColorType fDstColorType;
+ float fScale;
};