Index: dm/DMSrcSink.h |
diff --git a/dm/DMSrcSink.h b/dm/DMSrcSink.h |
index 0683d81960267cb10598427a6077a35afada9049..e163a24253f88e4ed58b2ca956588b0b16c96c24 100644 |
--- a/dm/DMSrcSink.h |
+++ b/dm/DMSrcSink.h |
@@ -117,6 +117,15 @@ private: |
SkColorType fColorType; |
}; |
+class SKPSink : public Sink { |
+public: |
+ SKPSink(); |
+ |
+ Error draw(const Src&, SkBitmap*, SkWStream*) const SK_OVERRIDE; |
+ int enclave() const SK_OVERRIDE { return kAnyThread_Enclave; } |
+ const char* fileExtension() const SK_OVERRIDE { return "skp"; } |
+}; |
+ |
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/ |
class ViaMatrix : public Sink { |