aboutsummaryrefslogtreecommitdiffhomepage
path: root/dm/DM.cpp
diff options
context:
space:
mode:
authorGravatar Chris Dalton <csmartdalton@google.com>2017-10-13 12:35:50 -0600
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-10-13 22:31:12 +0000
commit7a0ebfc033463907e2088401972d14ea8589cdb5 (patch)
tree5ac7d35893034bfa73169c60ecc001b682690519 /dm/DM.cpp
parent5b6e6277ad8768e37199b677eea361ca51654477 (diff)
Add a tooling flag for path mask caching
Adds the flag and a disables caching on the CCPR bots. Bug: skia: Change-Id: Icb85e77f89634dda1d419dacac5b8a93340723f0 Reviewed-on: https://skia-review.googlesource.com/59740 Reviewed-by: Eric Boren <borenet@google.com> Reviewed-by: Brian Osman <brianosman@google.com> Commit-Queue: Chris Dalton <csmartdalton@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 6b76a92a1e..00bcf6ab33 100644
--- a/dm/DM.cpp
+++ b/dm/DM.cpp
@@ -1341,6 +1341,7 @@ int main(int argc, char** argv) {
GrContextOptions grCtxOptions;
#if SK_SUPPORT_GPU
grCtxOptions.fGpuPathRenderers = CollectGpuPathRenderersFromFlags();
+ grCtxOptions.fAllowPathMaskCaching = FLAGS_cachePathMasks;
grCtxOptions.fExecutor = GpuExecutorForTools();
#endif