| Index: src/image/SkImage_Base.h
|
| diff --git a/src/image/SkImage_Base.h b/src/image/SkImage_Base.h
|
| index 3fe3444aef976245979dd886349fe561dc2c077e..c91430e5bd4ca88b9dfcbb414bb09ec85ea6cb29 100644
|
| --- a/src/image/SkImage_Base.h
|
| +++ b/src/image/SkImage_Base.h
|
| @@ -29,13 +29,13 @@ public:
|
|
|
| // Default impl calls onDraw
|
| virtual bool onReadPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes,
|
| - int srcX, int srcY) const;
|
| + int srcX, int srcY, CachingHint) const;
|
|
|
| virtual GrTexture* peekTexture() const { return nullptr; }
|
|
|
| // return a read-only copy of the pixels. We promise to not modify them,
|
| // but only inspect them (or encode them).
|
| - virtual bool getROPixels(SkBitmap*) const = 0;
|
| + virtual bool getROPixels(SkBitmap*, CachingHint = kAllow_CachingHint) const = 0;
|
|
|
| virtual SkImage* onApplyFilter(SkImageFilter*, SkIPoint* offset,
|
| bool forceResultToOriginalSize) const;
|
|
|