aboutsummaryrefslogtreecommitdiffhomepage
path: root/dm/DM.cpp
diff options
context:
space:
mode:
authorGravatar Robert Phillips <robertphillips@google.com>2018-03-27 08:06:57 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2018-03-27 12:37:44 +0000
commit33f02edb14bb2ad802324daa99886709990893a1 (patch)
treeba4b62389d382d226b30f061fbf3b15723611f8f /dm/DM.cpp
parent2ef4525daf153fe8927727e2131a35d520e90269 (diff)
Switch DDL rendering to be a Via in DM (take 2)
This will let us also render the GMs via DDLs. TBR=mtklein@google.com Change-Id: If7c2460d964822a6decc33cf5e8e685e67923127 Reviewed-on: https://skia-review.googlesource.com/116463 Reviewed-by: Mike Klein <mtklein@google.com> Commit-Queue: Robert Phillips <robertphillips@google.com>
Diffstat (limited to 'dm/DM.cpp')
-rw-r--r--dm/DM.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/dm/DM.cpp b/dm/DM.cpp
index a6cb97f6f5..0c4b15f176 100644
--- a/dm/DM.cpp
+++ b/dm/DM.cpp
@@ -957,6 +957,8 @@ static Sink* create_via(const SkString& tag, Sink* wrapped) {
VIA("tiles", ViaTiles, 256, 256, nullptr, wrapped);
VIA("tiles_rt", ViaTiles, 256, 256, new SkRTreeFactory, wrapped);
+ VIA("ddl", ViaDDL, 3, wrapped);
+
if (FLAGS_matrix.count() == 4) {
SkMatrix m;
m.reset();