Index: src/gpu/GrClipStackClip.h |
diff --git a/src/gpu/GrClipStackClip.h b/src/gpu/GrClipStackClip.h |
index 38f9e2d671a3c16ed3c2bf15b8d4088bd7d5aaf1..aaa2f90e3a43fb191442b31a118d7ba3c87d4844 100644 |
--- a/src/gpu/GrClipStackClip.h |
+++ b/src/gpu/GrClipStackClip.h |
@@ -52,28 +52,19 @@ private: |
// Draws the clip into the stencil buffer |
static bool CreateStencilClipMask(GrContext*, |
GrDrawContext*, |
- int32_t elementsGenID, |
- GrReducedClip::InitialState initialState, |
- const GrReducedClip::ElementList& elements, |
- const SkIRect& clipSpaceIBounds, |
+ const GrReducedClip&, |
const SkIPoint& clipSpaceToStencilOffset); |
// Creates an alpha mask of the clip. The mask is a rasterization of elements through the |
// rect specified by clipSpaceIBounds. |
static sk_sp<GrTexture> CreateAlphaClipMask(GrContext*, |
- int32_t elementsGenID, |
- GrReducedClip::InitialState initialState, |
- const GrReducedClip::ElementList& elements, |
- const SkVector& clipToMaskOffset, |
- const SkIRect& clipSpaceIBounds); |
+ const GrReducedClip&, |
+ const SkVector& clipToMaskOffset); |
// Similar to createAlphaClipMask but it rasterizes in SW and uploads to the result texture. |
static sk_sp<GrTexture> CreateSoftwareClipMask(GrTextureProvider*, |
- int32_t elementsGenID, |
- GrReducedClip::InitialState initialState, |
- const GrReducedClip::ElementList& elements, |
- const SkVector& clipToMaskOffset, |
- const SkIRect& clipSpaceIBounds); |
+ const GrReducedClip&, |
+ const SkVector& clipToMaskOffset); |
static bool UseSWOnlyPath(GrContext*, |
bool hasUserStencilSettings, |