Home
last modified time | relevance | path

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

/external/skia/src/core/
DSkMaskCache.cpp128 struct RectsBlurRec : public SkResourceCache::Rec { struct
129 RectsBlurRec(RectsBlurKey key, const SkMask& mask, SkCachedData* data) in RectsBlurRec() argument
136 ~RectsBlurRec() override { in ~RectsBlurRec()
140 RectsBlurKey fKey;
141 MaskValue fValue;
143 const Key& getKey() const override { return fKey; } in getKey()
144 size_t bytesUsed() const override { return sizeof(*this) + fValue.fData->size(); } in bytesUsed()
145 const char* getCategory() const override { return "rects-blur"; } in getCategory()
146 SkDiscardableMemory* diagnostic_only_getDiscardable() const override { in diagnostic_only_getDiscardable()
150 static bool Visitor(const SkResourceCache::Rec& baseRec, void* contextData) { in Visitor()
/external/skqp/src/core/
DSkMaskCache.cpp128 struct RectsBlurRec : public SkResourceCache::Rec { struct
129 RectsBlurRec(RectsBlurKey key, const SkMask& mask, SkCachedData* data) in RectsBlurRec() argument
136 ~RectsBlurRec() override { in ~RectsBlurRec()
140 RectsBlurKey fKey;
141 MaskValue fValue;
143 const Key& getKey() const override { return fKey; } in getKey()
144 size_t bytesUsed() const override { return sizeof(*this) + fValue.fData->size(); } in bytesUsed()
145 const char* getCategory() const override { return "rects-blur"; } in getCategory()
146 SkDiscardableMemory* diagnostic_only_getDiscardable() const override { in diagnostic_only_getDiscardable()
150 static bool Visitor(const SkResourceCache::Rec& baseRec, void* contextData) { in Visitor()