diff options
author | 2016-01-13 09:31:39 -0800 | |
---|---|---|
committer | 2016-01-13 09:31:39 -0800 | |
commit | bb25b5324965d53253fc3ad9f43b7d6faa2f9100 (patch) | |
tree | f336b3fce37f0e8cc17ba0e4242c7926072b4b2c /dm/DMSrcSink.h | |
parent | f33e7a39598f3098a9676724367aef764b02de50 (diff) |
Add CodecZeroInit test to DMSrcSink
This should not cause any diffs on Gold.
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1577853004
Review URL: https://codereview.chromium.org/1577853004
Diffstat (limited to 'dm/DMSrcSink.h')
-rw-r--r-- | dm/DMSrcSink.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/dm/DMSrcSink.h b/dm/DMSrcSink.h index 6645807286..def7cc9f5c 100644 --- a/dm/DMSrcSink.h +++ b/dm/DMSrcSink.h @@ -104,6 +104,10 @@ class CodecSrc : public Src { public: enum Mode { kCodec_Mode, + // We choose to test only one mode with zero initialized memory. + // This will exercise all of the interesting cases in SkSwizzler + // without doubling the size of our test suite. + kCodecZeroInit_Mode, kScanline_Mode, kStripe_Mode, // Tests the skipping of scanlines kSubset_Mode, // For codecs that support subsets directly. |