Index: src/image/SkImage.cpp |
diff --git a/src/image/SkImage.cpp b/src/image/SkImage.cpp |
index ee4491e0b15c38bee1704e4d322f46b6a6565446..c7b74cb2fa25a67770b12fcf36e6a1a737202c43 100644 |
--- a/src/image/SkImage.cpp |
+++ b/src/image/SkImage.cpp |
@@ -359,6 +359,17 @@ sk_sp<SkImage> SkImage::MakeFromTexture(GrContext*, const GrBackendTextureDesc&, |
return nullptr; |
} |
+size_t SkImage::getDeferredTextureImageData(const GrContextThreadSafeProxy&, |
+ const DeferredTextureImageUsageParams[], |
+ int paramCnt, void* buffer) const { |
+ return 0; |
+} |
+ |
+sk_sp<SkImage> SkImage::MakeFromDeferredTextureImageData(GrContext* context, const void*, |
+ SkBudgeted) { |
+ return nullptr; |
+} |
+ |
sk_sp<SkImage> SkImage::MakeFromAdoptedTexture(GrContext*, const GrBackendTextureDesc&, |
SkAlphaType) { |
return nullptr; |
@@ -441,4 +452,9 @@ SkImage* SkImage::NewFromPicture(const SkPicture* picture, const SkISize& dimens |
SkImage* SkImage::NewTextureFromPixmap(GrContext* ctx, const SkPixmap& pmap, SkBudgeted budgeted) { |
return MakeTextureFromPixmap(ctx, pmap, budgeted).release(); |
} |
+ |
+SkImage* SkImage::NewFromDeferredTextureImageData(GrContext* ctx, const void* data, |
+ SkBudgeted budgeted) { |
+ return MakeFromDeferredTextureImageData(ctx, data, budgeted).release(); |
+} |
#endif |