Index: src/gpu/GrDrawingManager.cpp |
diff --git a/src/gpu/GrDrawingManager.cpp b/src/gpu/GrDrawingManager.cpp |
index 606a9abd6e43c3530661e3e2c28e3949cdac6ed6..22dee0967e39ace3e48fe9a40602ee517f234e42 100644 |
--- a/src/gpu/GrDrawingManager.cpp |
+++ b/src/gpu/GrDrawingManager.cpp |
@@ -203,7 +203,9 @@ GrPathRenderer* GrDrawingManager::getPathRenderer(const GrPathRenderer::CanDrawP |
GrPathRenderer* pr = fPathRendererChain->getPathRenderer(args, drawType, stencilSupport); |
if (!pr && allowSW) { |
if (!fSoftwarePathRenderer) { |
- fSoftwarePathRenderer = new GrSoftwarePathRenderer(fContext->textureProvider()); |
+ fSoftwarePathRenderer = |
+ new GrSoftwarePathRenderer(fContext->textureProvider(), |
+ fOptionsForPathRendererChain.fAllowPathMaskCaching); |
} |
pr = fSoftwarePathRenderer; |
} |