aboutsummaryrefslogtreecommitdiffhomepage
path: root/dm/DM.cpp
diff options
context:
space:
mode:
authorGravatar Hal Canary <halcanary@google.com>2016-10-25 10:33:27 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2016-10-25 14:58:17 +0000
commit85c7fe8d6d87850aed83599864b63dca37af5fcf (patch)
treee315358d1c647001015bfce2c0429b254ed4f23d /dm/DM.cpp
parent7614794c9ad14d76abed6cf00890ad1a09c2cb8b (diff)
DM: JSON Debug Sink
Currently, the following GMs crash the debug canvas: ~dont_clip_to_layer ~imageblur ~imagefilterscropped ~pictureimagefilter ~savelayer_lcdtext ~textfilter_image // TODO(halcanary): fix this. GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=3742 Change-Id: Ieed3502119cd639fe345f3a41d436d5e39f3bdf1 Reviewed-on: https://skia-review.googlesource.com/3742 Reviewed-by: Mike Klein <mtklein@chromium.org> Commit-Queue: Hal Canary <halcanary@google.com>
Diffstat (limited to 'dm/DM.cpp')
-rw-r--r--dm/DM.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/dm/DM.cpp b/dm/DM.cpp
index 36808ad168..42922c2c0b 100644
--- a/dm/DM.cpp
+++ b/dm/DM.cpp
@@ -883,6 +883,7 @@ static Sink* create_sink(const SkCommandLineConfig* config) {
SINK("null", NullSink);
SINK("xps", XPSSink);
SINK("pdfa", PDFSink, true);
+ SINK("jsdebug", DebugSink);
}
#undef SINK
return nullptr;