Index: src/image/SkImage.cpp |
diff --git a/src/image/SkImage.cpp b/src/image/SkImage.cpp |
index 494e21004acde43ac7e370da07765831d8d4910b..4efbc33c1526862016b8f115dc682919c9dd6751 100644 |
--- a/src/image/SkImage.cpp |
+++ b/src/image/SkImage.cpp |
@@ -169,4 +169,16 @@ SkImage* SkImage_Base::onNewImage(int newWidth, int newHeight, const SkIRect* su |
return surface->newImageSnapshot(); |
} |
+////////////////////////////////////////////////////////////////////////////////////// |
+#if !SK_SUPPORT_GPU |
+ |
+SkImage* SkImage::NewFromTexture(GrContext*, const GrBackendTextureDesc&, SkAlphaType) { |
+ return NULL; |
+} |
+ |
+SkImage* SkImage::NewFromTextureCopy(GrContext*, const GrBackendTextureDesc&, SkAlphaType) { |
+ return NULL; |
+} |
+ |
+#endif |