8#ifndef SkBitmapCache_DEFINED
9#define SkBitmapCache_DEFINED
53 typedef std::unique_ptr<Rec, RecDeleter>
RecPtr;
59 static void PrivateDeleteRec(
Rec*);
uint64_t SkMakeResourceCacheSharedIDForBitmap(uint32_t bitmapGenID)
void SkNotifyBitmapGenIDIsStale(uint32_t bitmapGenID)
std::unique_ptr< Rec, RecDeleter > RecPtr
static RecPtr Alloc(const SkBitmapCacheDesc &, const SkImageInfo &, SkPixmap *)
static bool Find(const SkBitmapCacheDesc &, SkBitmap *result)
static void Add(RecPtr, SkBitmap *)
static const SkMipmap * AddAndRef(const SkImage_Base *, SkResourceCache *localCache=nullptr)
static const SkMipmap * FindAndRef(const SkBitmapCacheDesc &, SkResourceCache *localCache=nullptr)
static SkBitmapCacheDesc Make(const SkImage *)
constexpr int32_t height() const
int32_t fTop
smaller y-axis bounds
constexpr int32_t width() const
int32_t fLeft
smaller x-axis bounds