aboutsummaryrefslogtreecommitdiffhomepage
path: root/dm/DMSrcSink.h
diff options
context:
space:
mode:
authorGravatar halcanary <halcanary@google.com>2016-02-03 11:53:18 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2016-02-03 11:53:19 -0800
commit7a76f9c8f4de11e51b3495eec0d76be88a12adfa (patch)
tree83c20c951d1268988cf4f2c9ba37dde0e29771be /dm/DMSrcSink.h
parent84de5c86f9189bef758118dc12e1d6e62d06cd38 (diff)
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
Diffstat (limited to 'dm/DMSrcSink.h')
-rw-r--r--dm/DMSrcSink.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/dm/DMSrcSink.h b/dm/DMSrcSink.h
index a719bd154a..3a7d4ee516 100644
--- a/dm/DMSrcSink.h
+++ b/dm/DMSrcSink.h
@@ -357,6 +357,12 @@ public:
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