aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/image/SkImage_Base.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/image/SkImage_Base.h')
-rw-r--r--src/image/SkImage_Base.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/image/SkImage_Base.h b/src/image/SkImage_Base.h
index cc5335833f..e08d7610f7 100644
--- a/src/image/SkImage_Base.h
+++ b/src/image/SkImage_Base.h
@@ -50,6 +50,9 @@ public:
virtual GrTexture* peekTexture() const { return nullptr; }
#if SK_SUPPORT_GPU
virtual sk_sp<GrTextureProxy> asTextureProxyRef() const { return nullptr; }
+ virtual sk_sp<GrTextureProxy> asTextureProxyRef(GrContext*, const GrSamplerParams&,
+ SkColorSpace*, sk_sp<SkColorSpace>*,
+ SkScalar scaleAdjust[2]) const = 0;
virtual sk_sp<GrTexture> refPinnedTexture(uint32_t* uniqueID) const { return nullptr; }
#endif
virtual SkImageCacherator* peekCacherator() const { return nullptr; }