Home
last modified time | relevance | path

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

/external/skia/src/core/
DSkBitmapCache.cpp118 struct BitmapRec : public SkResourceCache::Rec { struct
119 BitmapRec(uint32_t genID, int width, int height, const SkIRect& bounds, in BitmapRec() argument
129 BitmapRec(const SkBitmapCacheDesc& desc, const SkBitmap& result) in BitmapRec() argument
147 const BitmapRec& rec = static_cast<const BitmapRec&>(baseRec); in Finder()
170 return CHECK_LOCAL(localCache, find, Find, BitmapKey(desc), BitmapRec::Finder, result); in FindWH()
180 BitmapRec* rec = new BitmapRec(desc, result); in AddWH()
189 return CHECK_LOCAL(localCache, find, Find, key, BitmapRec::Finder, result); in Find()
203 BitmapRec* rec = new BitmapRec(pr->getGenerationID(), 1, 1, subset, result); in Add()
214 return CHECK_LOCAL(localCache, find, Find, key, BitmapRec::Finder, result); in Find()
220 BitmapRec* rec = new BitmapRec(genID, 1, 1, SkIRect::MakeEmpty(), result); in Add()