Searched refs:cachedRegion (Results 1 – 2 of 2) sorted by relevance
275 const SkRegion* cachedRegion = mRegionMap.valueFor(region); in refRegion() local277 if (cachedRegion == nullptr) { in refRegion()279 cachedRegion = copy.get(); in refRegion()283 mRegionMap.replaceValueFor(region, cachedRegion); in refRegion()286 return cachedRegion; in refRegion()
305 const SkRegion* cachedRegion = mRegionMap.valueFor(region); in refRegion() local307 if (cachedRegion == nullptr) { in refRegion()309 cachedRegion = copy.get(); in refRegion()313 mRegionMap.replaceValueFor(region, cachedRegion); in refRegion()316 return cachedRegion; in refRegion()