Home
last modified time | relevance | path

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

/external/skia/src/core/
DSkYUVPlanesCache.cpp34 struct YUVPlanesRec : public SkResourceCache::Rec { struct
35 YUVPlanesRec(YUVPlanesKey key, SkCachedData* data, SkYUVPlanesCache::Info* info) in YUVPlanesRec() argument
42 ~YUVPlanesRec() { in ~YUVPlanesRec()
46 YUVPlanesKey fKey;
47 YUVValue fValue;
49 const Key& getKey() const override { return fKey; } in getKey()
50 size_t bytesUsed() const override { return sizeof(*this) + fValue.fData->size(); } in bytesUsed()
52 static bool Visitor(const SkResourceCache::Rec& baseRec, void* contextData) { in Visitor()