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

Unified Diff: dm/DMSrcSink.h

Issue 1175993005: DM testing for skipping and scaling (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: kStripe_Mode is a separate mode, scaling can be tested for all modes Created 5 years, 6 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
Index: dm/DMSrcSink.h
diff --git a/dm/DMSrcSink.h b/dm/DMSrcSink.h
index bd8c41ee186593dff1a58677b0be1e3a33e22be6..4b563908606229b2b12a5d06661854738d297511 100644
--- a/dm/DMSrcSink.h
+++ b/dm/DMSrcSink.h
@@ -98,13 +98,14 @@ public:
kNormal_Mode,
kScanline_Mode,
kScanline_Subset_Mode,
+ kStripe_Mode,
};
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 @@ private:
Path fPath;
Mode fMode;
DstColorType fDstColorType;
+ float fScale;
};

Powered by Google App Engine
This is Rietveld 408576698