Lines Matching defs:cache
273 SkCachedData* cache = copy_mask_to_cacheddata(mask);
274 if (cache) {
275 SkMaskCache::Add(sigma, style, rrect, *mask, cache);
277 return cache;
287 SkCachedData* cache = copy_mask_to_cacheddata(mask);
288 if (cache) {
289 SkMaskCache::Add(sigma, style, rects, count, *mask, cache);
291 return cache;
397 SkCachedData* cache = find_cached_rrect(&patch->fMask, sigma, fBlurStyle, smallRR);
398 if (!cache) {
417 cache = add_cached_rrect(&patch->fMask, sigma, fBlurStyle, smallRR);
425 patch->fCache = cache; // transfer ownership to patch
531 SkCachedData* cache = find_cached_rects(&patch->fMask, sigma, fBlurStyle, smallR, count);
532 if (!cache) {
549 cache = add_cached_rects(&patch->fMask, sigma, fBlurStyle, smallR, count);
555 patch->fCache = cache; // transfer ownership to patch
1083 // We cache blur masks. Use default surface props here so we can use the same cached mask
1291 // it crams a lazy proxy into the cache and then fills it in later.
1315 // that needed this resource and reduce future pollution of the cache.