Searched refs:cacheAccess (Results 1 – 6 of 6) sorted by relevance
128 resource->cacheAccess().setTimestamp(this->getNextTimestamp()); in insertResource()150 SkASSERT(!resource->cacheAccess().isExternal()); in insertResource()192 back->cacheAccess().abandon(); in abandonAll()198 top->cacheAccess().abandon(); in abandonAll()216 back->cacheAccess().release(); in releaseAll()222 top->cacheAccess().release(); in releaseAll()239 if (resource->internalHasRef() || !resource->cacheAccess().isScratch()) { in operator ()()293 resource->cacheAccess().removeUniqueKey(); in removeUniqueKey()315 SkDEBUGCODE(resource->cacheAccess().removeUniqueKey();) in changeUniqueKey()316 old->cacheAccess().release(); in changeUniqueKey()[all …]
211 if (resource->cacheAccess().isScratch()) { in update()214 if (resource->cacheAccess().isExternal()) { in update()217 if (resource->cacheAccess().isBorrowed()) { in update()220 if (resource->cacheAccess().isAdopted()) { in update()297 return a->cacheAccess().timestamp() < b->cacheAccess().timestamp(); in CompareTimestamp()301 return res->cacheAccess().accessCacheIndex(); in AccessResourceIndex()
96 inline GrGpuResource::CacheAccess GrGpuResource::cacheAccess() { return CacheAccess(this); } in cacheAccess() function98 inline const GrGpuResource::CacheAccess GrGpuResource::cacheAccess() const { in cacheAccess() function
172 if (this->cacheAccess().isExternal()) { in setScratchKey()
236 inline CacheAccess cacheAccess();237 inline const CacheAccess cacheAccess() const;
572 REPORTER_ASSERT(reporter, !resource->cacheAccess().isScratch()); in test_unbudgeted_to_scratch()589 REPORTER_ASSERT(reporter, resource->cacheAccess().isScratch()); in test_unbudgeted_to_scratch()604 REPORTER_ASSERT(reporter, !resource->cacheAccess().isScratch()); in test_unbudgeted_to_scratch()