Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(613)

Unified Diff: src/gpu/GrClipMaskManager.h

Issue 1426443008: Revert of Fix ClipMaskManager's SW-fallback logic (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « include/gpu/GrPathRendererChain.h ('k') | src/gpu/GrClipMaskManager.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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,
« no previous file with comments | « include/gpu/GrPathRendererChain.h ('k') | src/gpu/GrClipMaskManager.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698