Searched defs:BitmapRec (Results 1 – 1 of 1) sorted by relevance
67 struct BitmapRec : public SkResourceCache::Rec { struct68 BitmapRec(uint32_t genID, SkScalar scaleX, SkScalar scaleY, const SkIRect& bounds, in BitmapRec() function74 const Key& getKey() const override { return fKey; } in getKey()75 size_t bytesUsed() const override { return sizeof(fKey) + fBitmap.getSize(); } in bytesUsed()77 static bool Finder(const SkResourceCache::Rec& baseRec, void* contextBitmap) { in Finder()87 BitmapKey fKey;88 SkBitmap fBitmap;