Searched defs:YUVPlanesRec (Results 1 – 2 of 2) sorted by relevance
34 struct YUVPlanesRec : public SkResourceCache::Rec { struct35 YUVPlanesRec(YUVPlanesKey key, SkCachedData* data, SkYUVPlanesCache::Info* info) in YUVPlanesRec() argument42 ~YUVPlanesRec() override { 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()51 const char* getCategory() const override { return "yuv-planes"; } in getCategory()52 SkDiscardableMemory* diagnostic_only_getDiscardable() const override { in diagnostic_only_getDiscardable()56 static bool Visitor(const SkResourceCache::Rec& baseRec, void* contextData) { in Visitor()
34 struct YUVPlanesRec : public SkResourceCache::Rec { struct35 YUVPlanesRec(YUVPlanesKey key, SkCachedData* data, SkYUVPlanesCache::Info* info) in YUVPlanesRec() function42 ~YUVPlanesRec() override { 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()51 const char* getCategory() const override { return "yuv-planes"; } in getCategory()52 SkDiscardableMemory* diagnostic_only_getDiscardable() const override { in diagnostic_only_getDiscardable()56 static bool Visitor(const SkResourceCache::Rec& baseRec, void* contextData) { in Visitor()