From ef12509ff2668027664308653ced36039af800ad Mon Sep 17 00:00:00 2001 From: Chris Dalton Date: Tue, 26 Jun 2018 18:16:47 -0600 Subject: ccpr: Add a context option to disable ccpr TBR=bsalomon@google.com Bug: skia:856404 Change-Id: Icc6f3d1e7ef97f1853427a3b1cdd405961e6ac26 Reviewed-on: https://skia-review.googlesource.com/137763 Reviewed-by: Chris Dalton Commit-Queue: Chris Dalton --- include/gpu/GrContextOptions.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'include/gpu') diff --git a/include/gpu/GrContextOptions.h b/include/gpu/GrContextOptions.h index 11838707b5..d2377a570b 100644 --- a/include/gpu/GrContextOptions.h +++ b/include/gpu/GrContextOptions.h @@ -77,6 +77,13 @@ struct GrContextOptions { level and LOD control (ie desktop or ES3). */ bool fDoManualMipmapping = false; + /** + * Disables the coverage counting path renderer. Coverage counting can sometimes cause new + * rendering artifacts along shared edges if care isn't taken to ensure both contours wind in + * the same direction. + */ + bool fDisableCoverageCountingPaths = false; + /** * Disables distance field rendering for paths. Distance field computation can be expensive, * and yields no benefit if a path is not rendered multiple times with different transforms. -- cgit v1.2.3