diff options
Diffstat (limited to 'src/gpu/GrContext.cpp')
-rw-r--r-- | src/gpu/GrContext.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gpu/GrContext.cpp b/src/gpu/GrContext.cpp index 4b1af9991e..b4387e21a1 100644 --- a/src/gpu/GrContext.cpp +++ b/src/gpu/GrContext.cpp @@ -104,6 +104,9 @@ bool GrContext::initCommon(const GrContextOptions& options) { #if GR_TEST_UTILS prcOptions.fGpuPathRenderers = options.fGpuPathRenderers; #endif + if (options.fDisableCoverageCountingPaths) { + prcOptions.fGpuPathRenderers &= ~GpuPathRenderers::kCoverageCounting; + } if (options.fDisableDistanceFieldPaths) { prcOptions.fGpuPathRenderers &= ~GpuPathRenderers::kSmall; } |