From 7a0ebfc033463907e2088401972d14ea8589cdb5 Mon Sep 17 00:00:00 2001 From: Chris Dalton Date: Fri, 13 Oct 2017 12:35:50 -0600 Subject: 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 Reviewed-by: Brian Osman Commit-Queue: Chris Dalton --- bench/nanobench.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'bench/nanobench.cpp') diff --git a/bench/nanobench.cpp b/bench/nanobench.cpp index 203ed67073..c5dfe0cf7f 100644 --- a/bench/nanobench.cpp +++ b/bench/nanobench.cpp @@ -1140,6 +1140,7 @@ int main(int argc, char** argv) { #if SK_SUPPORT_GPU grContextOpts.fGpuPathRenderers = CollectGpuPathRenderersFromFlags(); + grContextOpts.fAllowPathMaskCaching = FLAGS_cachePathMasks; grContextOpts.fExecutor = GpuExecutorForTools(); #endif -- cgit v1.2.3