Index: dm/DMSrcSink.h |
diff --git a/dm/DMSrcSink.h b/dm/DMSrcSink.h |
index dcd169e32283977beabfb2655a821374370be0e8..364afe0e11b80dc8de2ab58516fbc149dd0cadd4 100644 |
--- a/dm/DMSrcSink.h |
+++ b/dm/DMSrcSink.h |
@@ -81,6 +81,18 @@ private: |
skiagm::GMRegistry::Factory fFactory; |
}; |
+class CodecSrc : public Src { |
+public: |
+ explicit CodecSrc(Path path); |
+ |
+ Error draw(SkCanvas*) const SK_OVERRIDE; |
+ SkISize size() const SK_OVERRIDE; |
+ Name name() const SK_OVERRIDE; |
+private: |
+ Path fPath; |
+}; |
+ |
+ |
class ImageSrc : public Src { |
public: |
// divisor == 0 means decode the whole image |