Index: src/image/SkImage_Gpu.h |
diff --git a/src/image/SkImage_Gpu.h b/src/image/SkImage_Gpu.h |
index 530c0445d3a1954e9ab43ca557828e9d39c9937c..d5080d7a3a579160e460737ff0a79e284979794b 100644 |
--- a/src/image/SkImage_Gpu.h |
+++ b/src/image/SkImage_Gpu.h |
@@ -43,6 +43,12 @@ public: |
bool isOpaque() const override; |
bool onReadPixels(const SkImageInfo&, void* dstPixels, size_t dstRowBytes, |
int srcX, int srcY) const override; |
+ SkImage* onApplyFilter(SkImageFilter*, SkIPoint* offset, |
+ bool forceResultToOriginalSize) const override; |
+ |
+ SkSurface* onNewSurface(const SkImageInfo& info) const override { |
+ return SkSurface::NewRenderTarget(fTexture->getContext(), SkSurface::kNo_Budgeted, info); |
+ } |
private: |
SkAutoTUnref<GrTexture> fTexture; |