Index: src/image/SkImage_Gpu.h |
diff --git a/src/image/SkImage_Gpu.h b/src/image/SkImage_Gpu.h |
index 9481690714c9619b6b17369b549f6c1b580f21c5..d168fb6853428898f6b3ccef878e994af89b4a52 100644 |
--- a/src/image/SkImage_Gpu.h |
+++ b/src/image/SkImage_Gpu.h |
@@ -37,7 +37,9 @@ public: |
} |
bool getROPixels(SkBitmap*) const override; |
- GrTexture* getTexture() const override { return fTexture; } |
+ GrTexture* asTextureRef(GrContext* ctx, SkImageUsageType usage) const override; |
+ |
+ GrTexture* peekTexture() const override { return fTexture; } |
SkShader* onNewShader(SkShader::TileMode, |
SkShader::TileMode, |
const SkMatrix* localMatrix) const override; |