Index: dm/DMSrcSink.h |
diff --git a/dm/DMSrcSink.h b/dm/DMSrcSink.h |
index 0537e262a3be3f1474c295eeb6714d9fe0cf140f..9b89d158f62523aa4c5bd862337763b7b0952b28 100644 |
--- a/dm/DMSrcSink.h |
+++ b/dm/DMSrcSink.h |
@@ -59,6 +59,7 @@ struct Src { |
virtual Error SK_WARN_UNUSED_RESULT draw(SkCanvas*) const = 0; |
virtual SkISize size() const = 0; |
virtual Name name() const = 0; |
+ virtual void modifyGrContextOptions(GrContextOptions* options) const {} |
}; |
struct Sink { |
@@ -85,6 +86,8 @@ public: |
Error draw(SkCanvas*) const override; |
SkISize size() const override; |
Name name() const override; |
+ void modifyGrContextOptions(GrContextOptions* options) const override; |
+ |
private: |
skiagm::GMRegistry::Factory fFactory; |
}; |