Home
last modified time | relevance | path

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

/third_party/skia/src/core/
DSkYUVPlanesCache.cpp37 struct YUVPlanesRec : public SkResourceCache::Rec { struct
38 YUVPlanesRec(YUVPlanesKey key, SkCachedData* data, const SkYUVAPixmaps& pixmaps) in YUVPlanesRec() function
45 ~YUVPlanesRec() override { in ~YUVPlanesRec()
49 YUVPlanesKey fKey;
50 YUVValue fValue;
52 const Key& getKey() const override { return fKey; } in getKey()
53 size_t bytesUsed() const override { return sizeof(*this) + fValue.fData->size(); } in bytesUsed()
54 const char* getCategory() const override { return "yuv-planes"; } in getCategory()
55 SkDiscardableMemory* diagnostic_only_getDiscardable() const override { in diagnostic_only_getDiscardable()
59 static bool Visitor(const SkResourceCache::Rec& baseRec, void* contextData) { in Visitor()