Index: dm/DMSrcSink.h |
diff --git a/dm/DMSrcSink.h b/dm/DMSrcSink.h |
index 57af9110627dbdf3887e0e1aa28a9edcc9c706b4..e35932c7ce52d4a8a0a7f1c698013979a7c80ec6 100644 |
--- a/dm/DMSrcSink.h |
+++ b/dm/DMSrcSink.h |
@@ -94,14 +94,20 @@ public: |
kNormal_Mode, |
kScanline_Mode, |
}; |
- CodecSrc(Path, Mode); |
+ enum DstColorType { |
+ kGetFromCanvas_DstColorType, |
+ kIndex8_Always_DstColorType, |
+ kGrayscale_Always_DstColorType, |
+ }; |
+ CodecSrc(Path, Mode, DstColorType); |
Error draw(SkCanvas*) const override; |
SkISize size() const override; |
Name name() const override; |
private: |
- Path fPath; |
- Mode fMode; |
+ Path fPath; |
+ Mode fMode; |
+ DstColorType fDstColorType; |
}; |