| Index: include/gpu/SkGr.h
|
| diff --git a/include/gpu/SkGr.h b/include/gpu/SkGr.h
|
| index 7dd1aff456e8b06004fbf54c51ec557a98887455..647fe2c9ecc90c3a6384496ab7d5ca02a2a751a0 100644
|
| --- a/include/gpu/SkGr.h
|
| +++ b/include/gpu/SkGr.h
|
| @@ -81,7 +81,10 @@ GrPixelConfig GrIsCompressedTextureDataSupported(GrContext* ctx, SkData* data,
|
| int expectedW, int expectedH,
|
| const void** outStartOfDataToUpload);
|
|
|
| +// Helper that calls GrIsImageInCache assuming bitmap is not volatile.
|
| bool GrIsBitmapInCache(const GrContext*, const SkBitmap&, const GrTextureParams*);
|
| +bool GrIsImageInCache(const GrContext* ctx, uint32_t imageID, const SkIRect& subset,
|
| + GrTexture* nativeTexture, const GrTextureParams*);
|
|
|
| GrTexture* GrRefCachedBitmapTexture(GrContext*, const SkBitmap&, const GrTextureParams*);
|
| GrTexture* GrRefCachedBitmapTexture(GrContext*, const SkBitmap&, SkImageUsageType);
|
|
|