Searched refs:cacheAccess (Results 1 – 8 of 8) sorted by relevance
145 resource->cacheAccess().setTimestamp(this->getNextTimestamp()); in insertResource()166 SkASSERT(!resource->cacheAccess().isUsableAsScratch()); in insertResource()192 if (resource->cacheAccess().isUsableAsScratch()) { in removeResource()211 back->cacheAccess().abandon(); in abandonAll()217 top->cacheAccess().abandon(); in abandonAll()254 back->cacheAccess().release(); in releaseAll()260 top->cacheAccess().release(); in releaseAll()303 resource->cacheAccess().release(); in releaseByTag()343 if (resource->cacheAccess().hasRef()) { in refResource()381 if (resource->cacheAccess().isUsableAsScratch()) { in willRemoveScratchKey()[all …]
41 inline GrTextureProxy::CacheAccess GrTextureProxy::cacheAccess() { return CacheAccess(this); } in cacheAccess() function43 inline const GrTextureProxy::CacheAccess GrTextureProxy::cacheAccess() const { // NOLINT(readabili… in cacheAccess() function
252 if (resource->cacheAccess().isScratch()) { in update()366 return a->cacheAccess().timestamp() < b->cacheAccess().timestamp(); in CompareTimestamp()370 return res->cacheAccess().accessCacheIndex(); in AccessResourceIndex()
104 inline GrGpuResource::CacheAccess GrGpuResource::cacheAccess() { return CacheAccess(this); } in cacheAccess() function106 inline const GrGpuResource::CacheAccess GrGpuResource::cacheAccess() const { // NOLINT(readability… in cacheAccess() function
95 inline CacheAccess cacheAccess();96 inline const CacheAccess cacheAccess() const; // NOLINT(readability-const-return-type)
267 inline CacheAccess cacheAccess();268 inline const CacheAccess cacheAccess() const; // NOLINT(readability-const-return-type)
78 proxy->cacheAccess().setUniqueKey(this, key); in assignUniqueKeyToProxy()98 proxy->cacheAccess().setUniqueKey(this, surf->getUniqueKey()); in adoptUniqueKeyFromSurface()912 proxy->cacheAccess().clearUniqueKey(); in processInvalidUniqueKeyImpl()
746 REPORTER_ASSERT(reporter, !resource->cacheAccess().isScratch()); in test_unbudgeted_to_scratch()766 REPORTER_ASSERT(reporter, resource->cacheAccess().isScratch()); in test_unbudgeted_to_scratch()783 REPORTER_ASSERT(reporter, !resource->cacheAccess().isScratch()); in test_unbudgeted_to_scratch()