Index: src/gpu/GrClipMaskManager.h |
diff --git a/src/gpu/GrClipMaskManager.h b/src/gpu/GrClipMaskManager.h |
index 515f4b65830bfa149d864aefdef99d90cdc4aa2a..3ce3e72bf1c5c567ddbe25b2b48a7184d01604b6 100644 |
--- a/src/gpu/GrClipMaskManager.h |
+++ b/src/gpu/GrClipMaskManager.h |
@@ -133,6 +133,14 @@ |
const SkClipStack::Element*, |
GrPathRenderer* pr = nullptr); |
+ // Determines whether it is possible to draw the element to both the stencil buffer and the |
+ // alpha mask simultaneously. If so and the element is a path a compatible path renderer is |
+ // also returned. |
+ bool canStencilAndDrawElement(GrPipelineBuilder*, |
+ GrTexture* target, |
+ GrPathRenderer**, |
+ const SkClipStack::Element*); |
+ |
void mergeMask(GrPipelineBuilder*, |
GrTexture* dstMask, |
GrTexture* srcMask, |