Home
last modified time | relevance | path

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

/external/skia/src/core/
DSkBitmapCache.cpp242 struct MipMapRec : public SkResourceCache::Rec { struct
243 MipMapRec(const SkBitmap& src, const SkMipMap* result) in MipMapRec() function
250 virtual ~MipMapRec() { in ~MipMapRec()
254 const Key& getKey() const override { return fKey; } in getKey()
255 size_t bytesUsed() const override { return sizeof(fKey) + fMipMap->size(); } in bytesUsed()
256 const char* getCategory() const override { return "mipmap"; } in getCategory()
257 SkDiscardableMemory* diagnostic_only_getDiscardable() const override { in diagnostic_only_getDiscardable()
261 static bool Finder(const SkResourceCache::Rec& baseRec, void* contextMip) { in Finder()
276 MipMapKey fKey;
277 const SkMipMap* fMipMap;