diff options
Diffstat (limited to 'src/image/SkImage_Base.h')
-rw-r--r-- | src/image/SkImage_Base.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/image/SkImage_Base.h b/src/image/SkImage_Base.h index 2e3fb9a34a..01b39be383 100644 --- a/src/image/SkImage_Base.h +++ b/src/image/SkImage_Base.h @@ -51,7 +51,9 @@ public: // Default impl calls onDraw virtual bool onReadPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes, int srcX, int srcY) const; - + + virtual void onPreroll(GrContext*) const {} + virtual GrTexture* getTexture() const { return nullptr; } // return a read-only copy of the pixels. We promise to not modify them, |