| Index: src/core/SkImageCacherator.h
|
| diff --git a/src/core/SkImageCacherator.h b/src/core/SkImageCacherator.h
|
| index 6812c72fccb092b1b0172d6f251f37cbc0bb0d19..c5c65498cc92ec4653345d63e1bc31562376b11f 100644
|
| --- a/src/core/SkImageCacherator.h
|
| +++ b/src/core/SkImageCacherator.h
|
| @@ -58,6 +58,9 @@ private:
|
|
|
| bool generateBitmap(SkBitmap*);
|
| bool tryLockAsBitmap(SkBitmap*, const SkImage*);
|
| +#if SK_SUPPORT_GPU
|
| + GrTexture* lockUnstretchedTexture(GrContext*, SkImageUsageType, const SkImage* client);
|
| +#endif
|
|
|
| class ScopedGenerator {
|
| SkImageCacherator* fCacher;
|
| @@ -78,6 +81,8 @@ private:
|
| const SkImageInfo fInfo;
|
| const SkIPoint fOrigin;
|
| const uint32_t fUniqueID;
|
| +
|
| + friend class Cacherator_GrTextureMaker;
|
| };
|
|
|
| #endif
|
|
|