Home
last modified time | relevance | path

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

/external/skqp/src/core/
DSkYUVPlanesCache.cpp34 struct YUVPlanesRec : public SkResourceCache::Rec { struct
35 YUVPlanesRec(YUVPlanesKey key, SkCachedData* data, SkYUVPlanesCache::Info* info) in YUVPlanesRec() argument
42 ~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()
/external/skia/src/core/
DSkYUVPlanesCache.cpp34 struct YUVPlanesRec : public SkResourceCache::Rec { struct
35 YUVPlanesRec(YUVPlanesKey key, SkCachedData* data, SkYUVPlanesCache::Info* info) in YUVPlanesRec() function
42 ~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()