Searched refs:cacheAccess (Results 1 – 6 of 6) sorted by relevance
127 resource->cacheAccess().setTimestamp(this->getNextTimestamp()); in insertResource()149 SkASSERT(!resource->cacheAccess().isWrapped()); in insertResource()191 back->cacheAccess().abandon(); in abandonAll()197 top->cacheAccess().abandon(); in abandonAll()215 back->cacheAccess().release(); in releaseAll()221 top->cacheAccess().release(); in releaseAll()238 if (resource->internalHasRef() || !resource->cacheAccess().isScratch()) { in operator ()()285 resource->cacheAccess().removeUniqueKey(); in removeUniqueKey()307 SkDEBUGCODE(resource->cacheAccess().removeUniqueKey();) in changeUniqueKey()308 old->cacheAccess().release(); in changeUniqueKey()[all …]
84 inline GrGpuResource::CacheAccess GrGpuResource::cacheAccess() { return CacheAccess(this); } in cacheAccess() function86 inline const GrGpuResource::CacheAccess GrGpuResource::cacheAccess() const { in cacheAccess() function
239 return a->cacheAccess().timestamp() < b->cacheAccess().timestamp(); in CompareTimestamp()243 return res->cacheAccess().accessCacheIndex(); in AccessResourceIndex()
90 if (resource->cacheAccess().isScratch()) { in dumpStats()93 if (resource->cacheAccess().isWrapped()) { in dumpStats()
231 inline CacheAccess cacheAccess();232 inline const CacheAccess cacheAccess() const;
509 REPORTER_ASSERT(reporter, !resource->cacheAccess().isScratch()); in test_unbudgeted_to_scratch()526 REPORTER_ASSERT(reporter, resource->cacheAccess().isScratch()); in test_unbudgeted_to_scratch()541 REPORTER_ASSERT(reporter, !resource->cacheAccess().isScratch()); in test_unbudgeted_to_scratch()