commit | 7a76f9c8f4de11e51b3495eec0d76be88a12adfa | [log] [tgz] |
---|---|---|
author | halcanary <halcanary@google.com> | Wed Feb 03 11:53:18 2016 -0800 |
committer | Commit bot <commit-bot@chromium.org> | Wed Feb 03 11:53:19 2016 -0800 |
tree | 83c20c951d1268988cf4f2c9ba37dde0e29771be | |
parent | 84de5c86f9189bef758118dc12e1d6e62d06cd38 [diff] [blame] |
SkMojo: test linking Skia against the Mojo SDK TODO: build on systems other than Linux. Add mojo_skd to the DEPS. Add a DM::Via called `mojo-`. everything is hidden behind the gyp variable `skia_mojo`. GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1644043003 Review URL: https://codereview.chromium.org/1644043003
diff --git a/dm/DMSrcSink.h b/dm/DMSrcSink.h index a719bd1..3a7d4ee 100644 --- a/dm/DMSrcSink.h +++ b/dm/DMSrcSink.h
@@ -357,6 +357,12 @@ Error draw(const Src&, SkBitmap*, SkWStream*, SkString*) const override; }; +class ViaMojo : public Via { +public: + explicit ViaMojo(Sink* sink) : Via(sink) {} + Error draw(const Src&, SkBitmap*, SkWStream*, SkString*) const override; +}; + } // namespace DM #endif//DMSrcSink_DEFINED