Searched defs:YUVPlanesRec (Results 1 – 1 of 1) sorted by relevance
34 struct YUVPlanesRec : public SkResourceCache::Rec { struct35 YUVPlanesRec(YUVPlanesKey key, SkCachedData* data, SkYUVPlanesCache::Info* info) in YUVPlanesRec() argument42 ~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()