Index: src/gpu/GrClipStackClip.h |
diff --git a/src/gpu/GrClipStackClip.h b/src/gpu/GrClipStackClip.h |
index afda3eb43cebc9bcb7260b65692c7f6c25379fdb..e490c07d5c79dc9cc9cf540f3044710b8e9791ea 100644 |
--- a/src/gpu/GrClipStackClip.h |
+++ b/src/gpu/GrClipStackClip.h |
@@ -13,6 +13,7 @@ |
class GrPathRenderer; |
class GrTexture; |
+class GrTextureProxy; |
class GrTextureProvider; |
class GrUniqueKey; |
@@ -51,10 +52,10 @@ private: |
// 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*, const GrReducedClip&); |
+ static sk_sp<GrTextureProxy> CreateAlphaClipMask(GrContext*, const GrReducedClip&); |
// Similar to createAlphaClipMask but it rasterizes in SW and uploads to the result texture. |
- static sk_sp<GrTexture> CreateSoftwareClipMask(GrTextureProvider*, const GrReducedClip&); |
+ static sk_sp<GrTextureProxy> CreateSoftwareClipMask(GrTextureProvider*, const GrReducedClip&); |
static bool UseSWOnlyPath(GrContext*, |
bool hasUserStencilSettings, |