Home
last modified time | relevance | path

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

/aosp_15_r20/external/skia/src/core/
H A DSkBitmapCache.cpp244 struct MipMapRec : public SkResourceCache::Rec { struct
245 MipMapRec(const SkBitmapCacheDesc& desc, const SkMipmap* result) in MipMapRec() argument
252 ~MipMapRec() override { in ~MipMapRec()
256 const Key& getKey() const override { return fKey; } in getKey()
257 size_t bytesUsed() const override { return sizeof(fKey) + fMipMap->size(); } in bytesUsed()
258 const char* getCategory() const override { return "mipmap"; } in getCategory()
259 SkDiscardableMemory* diagnostic_only_getDiscardable() const override { in diagnostic_only_getDiscardable()
263 static bool Finder(const SkResourceCache::Rec& baseRec, void* contextMip) { in Finder()
278 MipMapKey fKey;
279 const SkMipmap* fMipMap;