Home
last modified time | relevance | path

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

/external/skia/src/core/
DSkMaskCache.cpp37 struct RRectBlurRec : public SkResourceCache::Rec { struct
38 RRectBlurRec(RRectBlurKey key, const SkMask& mask, SkCachedData* data) in RRectBlurRec() argument
45 ~RRectBlurRec() override { in ~RRectBlurRec()
49 RRectBlurKey fKey;
50 MaskValue 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 "rrect-blur"; } 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()
/external/skqp/src/core/
DSkMaskCache.cpp37 struct RRectBlurRec : public SkResourceCache::Rec { struct
38 RRectBlurRec(RRectBlurKey key, const SkMask& mask, SkCachedData* data) in RRectBlurRec() argument
45 ~RRectBlurRec() override { in ~RRectBlurRec()
49 RRectBlurKey fKey;
50 MaskValue 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 "rrect-blur"; } 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()