Home
last modified time | relevance | path

Searched defs:BitmapRec (Results 1 – 1 of 1) sorted by relevance

/external/skia/src/core/
DSkBitmapCache.cpp67 struct BitmapRec : public SkResourceCache::Rec { struct
68 BitmapRec(uint32_t genID, SkScalar scaleX, SkScalar scaleY, const SkIRect& bounds, in BitmapRec() function
74 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;