Index: src/gpu/GrReducedClip.h |
diff --git a/src/gpu/GrReducedClip.h b/src/gpu/GrReducedClip.h |
index c3f94a0dff5103ac8cb61a6bd22247f3ce790cf7..731d58f61c561d44e15f5ec6ada527d84c81027f 100644 |
--- a/src/gpu/GrReducedClip.h |
+++ b/src/gpu/GrReducedClip.h |
@@ -11,6 +11,9 @@ |
#include "SkClipStack.h" |
#include "SkTLList.h" |
+class GrContext; |
+class GrDrawContext; |
+ |
/** |
* This class takes a clip stack and produces a reduced set of elements that are equivalent to |
* applying that full stack within a specified query rectangle. |
@@ -60,6 +63,9 @@ public: |
InitialState initialState() const { return fInitialState; } |
+ bool drawAlphaClipMask(GrDrawContext*) const; |
+ bool drawStencilClipMask(GrContext*, GrDrawContext*, const SkIPoint& clipOrigin) const; |
+ |
private: |
void walkStack(const SkClipStack&, const SkRect& queryBounds); |
bool intersectIBounds(const SkIRect&); |