diff options
author | Chris Dalton <csmartdalton@google.com> | 2017-10-17 10:40:01 -0600 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-10-17 18:48:42 +0000 |
commit | a2ac30da36c80f616c909c671a240f2d468db124 (patch) | |
tree | 0f6190b0f04c83e2c2b0c24b850b9e9ebcb83e54 /tests/GrCCPRTest.cpp | |
parent | 2fb81c04d74973181208f4f33eb6be4d4bae0321 (diff) |
Enable CCPR for volatile paths
Enables for volatile paths and when path mask caching is disabled.
Bug: skia:
Change-Id: I644b17f2a4f77a4ddf85265f520599499c0800cf
Reviewed-on: https://skia-review.googlesource.com/60481
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Chris Dalton <csmartdalton@google.com>
Diffstat (limited to 'tests/GrCCPRTest.cpp')
-rw-r--r-- | tests/GrCCPRTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/GrCCPRTest.cpp b/tests/GrCCPRTest.cpp index d8be726d6e..d685b1094b 100644 --- a/tests/GrCCPRTest.cpp +++ b/tests/GrCCPRTest.cpp @@ -29,7 +29,7 @@ class CCPRPathDrawer { public: CCPRPathDrawer(GrContext* ctx) : fCtx(ctx) - , fCCPR(GrCoverageCountingPathRenderer::CreateIfSupported(*fCtx->caps())) + , fCCPR(GrCoverageCountingPathRenderer::CreateIfSupported(*fCtx->caps(), true)) , fRTC(fCtx->makeDeferredRenderTargetContext(SkBackingFit::kExact, kCanvasSize, kCanvasSize, kRGBA_8888_GrPixelConfig, nullptr)) { |