aboutsummaryrefslogtreecommitdiffhomepage
path: root/dm/DM.cpp
diff options
context:
space:
mode:
authorGravatar reed <reed@google.com>2016-07-08 08:43:27 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-07-08 08:43:28 -0700
commitbabc3de2ce7c2f7b32b1b6b9f36d2ac4a4d8dee1 (patch)
treee9cae65810720a7e06ad6655da10f16b37627338 /dm/DM.cpp
parentbd2bbe4a1750166136c7729adb0b48ebd7132b74 (diff)
deferred canvas
tries to eliminate unneeded clipRects and concats (and their associated save/restores). BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2120333002 Review-Url: https://codereview.chromium.org/2120333002
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 eb61fd786b..78b403b8d0 100644
--- a/dm/DM.cpp
+++ b/dm/DM.cpp
@@ -853,6 +853,7 @@ static Sink* create_via(const SkString& tag, Sink* wrapped) {
VIA("pic", ViaPicture, wrapped);
VIA("2ndpic", ViaSecondPicture, wrapped);
VIA("sp", ViaSingletonPictures, wrapped);
+ VIA("defer", ViaDefer, wrapped);
VIA("tiles", ViaTiles, 256, 256, nullptr, wrapped);
VIA("tiles_rt", ViaTiles, 256, 256, new SkRTreeFactory, wrapped);