aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/gpu/GrContextOptions.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/gpu/GrContextOptions.h')
-rw-r--r--include/gpu/GrContextOptions.h7
1 files changed, 7 insertions, 0 deletions
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
@@ -78,6 +78,13 @@ struct GrContextOptions {
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.
*/