Lines Matching refs:Key
21 struct RRectBlurKey : public SkResourceCache::Key {
40 RRectBlurRec(RRectBlurKey key, const SkMask& mask, SkCachedData* data)
41 : fKey(key)
54 const Key& getKey() const override { return fKey; }
80 RRectBlurKey key(sigma, rrect, style, quality);
81 if (!CHECK_LOCAL(localCache, find, Find, key, RRectBlurRec::Visitor, &result)) {
93 RRectBlurKey key(sigma, rrect, style, quality);
94 return CHECK_LOCAL(localCache, add, Add, new RRectBlurRec(key, mask, data));
102 struct RectsBlurKey : public SkResourceCache::Key {
135 RectsBlurRec(RectsBlurKey key, const SkMask& mask, SkCachedData* data)
136 : fKey(key)
149 const Key& getKey() const override { return fKey; }
176 RectsBlurKey key(sigma, style, quality, rects, count);
177 if (!CHECK_LOCAL(localCache, find, Find, key, RectsBlurRec::Visitor, &result)) {
189 RectsBlurKey key(sigma, style, quality, rects, count);
190 return CHECK_LOCAL(localCache, add, Add, new RectsBlurRec(key, mask, data));