Home
last modified time | relevance | path

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

/external/skia/src/core/
DSkBitmapCache.cpp232 struct MipMapRec : public SkResourceCache::Rec { struct
233 MipMapRec(const SkBitmapCacheDesc& desc, const SkMipMap* result) in MipMapRec() function
240 ~MipMapRec() override { in ~MipMapRec()
244 const Key& getKey() const override { return fKey; } in getKey()
245 size_t bytesUsed() const override { return sizeof(fKey) + fMipMap->size(); } in bytesUsed()
246 const char* getCategory() const override { return "mipmap"; } in getCategory()
247 SkDiscardableMemory* diagnostic_only_getDiscardable() const override { in diagnostic_only_getDiscardable()
251 static bool Finder(const SkResourceCache::Rec& baseRec, void* contextMip) { in Finder()
266 MipMapKey fKey;
267 const SkMipMap* fMipMap;
/external/skqp/src/core/
DSkBitmapCache.cpp232 struct MipMapRec : public SkResourceCache::Rec { struct
233 MipMapRec(const SkBitmapCacheDesc& desc, const SkMipMap* result) in MipMapRec() argument
240 ~MipMapRec() override { in ~MipMapRec()
244 const Key& getKey() const override { return fKey; } in getKey()
245 size_t bytesUsed() const override { return sizeof(fKey) + fMipMap->size(); } in bytesUsed()
246 const char* getCategory() const override { return "mipmap"; } in getCategory()
247 SkDiscardableMemory* diagnostic_only_getDiscardable() const override { in diagnostic_only_getDiscardable()
251 static bool Finder(const SkResourceCache::Rec& baseRec, void* contextMip) { in Finder()
266 MipMapKey fKey;
267 const SkMipMap* fMipMap;