aboutsummaryrefslogtreecommitdiffhomepage
path: root/dm/DMSrcSink.h
diff options
context:
space:
mode:
authorGravatar msarett <msarett@google.com>2016-01-13 09:31:39 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2016-01-13 09:31:39 -0800
commitbb25b5324965d53253fc3ad9f43b7d6faa2f9100 (patch)
treef336b3fce37f0e8cc17ba0e4242c7926072b4b2c /dm/DMSrcSink.h
parentf33e7a39598f3098a9676724367aef764b02de50 (diff)
Add CodecZeroInit test to DMSrcSink
Diffstat (limited to 'dm/DMSrcSink.h')
-rw-r--r--dm/DMSrcSink.h4
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.