| Index: src/gpu/SkGr.cpp
|
| diff --git a/src/gpu/SkGr.cpp b/src/gpu/SkGr.cpp
|
| index 2b6c79f0f34cbcb2d9459dd682ad063d1f983e25..7fe8fe188bbbf17adf6ca7388835e34644c14c82 100644
|
| --- a/src/gpu/SkGr.cpp
|
| +++ b/src/gpu/SkGr.cpp
|
| @@ -520,15 +520,6 @@ bool GrIsImageInCache(const GrContext* ctx, uint32_t imageID, const SkIRect& sub
|
| (SkGrStretch::kNone_Type == stretch.fType) ? key : stretchedKey);
|
| }
|
|
|
| -bool GrIsBitmapInCache(const GrContext* ctx, const SkBitmap& bitmap,
|
| - const GrTextureParams* params) {
|
| - if (bitmap.isVolatile()) {
|
| - return false; // we don't cache volatile bitmaps.
|
| - }
|
| - return GrIsImageInCache(ctx, bitmap.getGenerationID(), bitmap.getSubset(), bitmap.getTexture(),
|
| - params);
|
| -}
|
| -
|
| class Bitmap_GrTextureMaker : public GrTextureMaker {
|
| public:
|
| Bitmap_GrTextureMaker(const SkBitmap& bitmap)
|
|
|