aboutsummaryrefslogtreecommitdiffhomepage
path: root/dm/DM.cpp
diff options
context:
space:
mode:
authorGravatar Robert Phillips <robertphillips@google.com>2018-03-26 15:30:34 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2018-03-26 20:30:33 +0000
commitbd2e2a0cafb0944255635b95663e1d242064b9c3 (patch)
tree7e75882d50e23045b0b6d90f32adf7c528f75bd4 /dm/DM.cpp
parent21ba551f13b2cd15c0cfc2743c6ea3b83976f1b6 (diff)
Switch DDL rendering to be a Via in DM
This will let us also render the GMs via DDLs. Change-Id: I866a5af66d737473f4760dbc9d45053460c42e6e Reviewed-on: https://skia-review.googlesource.com/116021 Commit-Queue: Robert Phillips <robertphillips@google.com> Reviewed-by: Greg Daniel <egdaniel@google.com> Reviewed-by: Mike Klein <mtklein@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();