| Index: src/gpu/GrPipelineBuilder.h
|
| diff --git a/src/gpu/GrPipelineBuilder.h b/src/gpu/GrPipelineBuilder.h
|
| index f66ced30257bbf886222a661da877b24fbc67155..f5fe9f80dc38196d583183845a0990684b88eced 100644
|
| --- a/src/gpu/GrPipelineBuilder.h
|
| +++ b/src/gpu/GrPipelineBuilder.h
|
| @@ -155,6 +155,14 @@
|
| }
|
|
|
| /**
|
| + * Sets a GrXPFactory that will ignore src color and perform a set operation between the draws
|
| + * output coverage and the destination. This is useful to render coverage masks as CSG.
|
| + */
|
| + void setCoverageSetOpXPFactory(SkRegion::Op regionOp, bool invertCoverage = false) {
|
| + fXPFactory.reset(GrCoverageSetOpXPFactory::Create(regionOp, invertCoverage));
|
| + }
|
| +
|
| + /**
|
| * Sets a GrXPFactory that disables color writes to the destination. This is useful when
|
| * rendering to the stencil buffer.
|
| */
|
|
|