Searched refs:cacheAccess (Results 1 – 8 of 8) sorted by relevance
79 resource->cacheAccess().setTimestamp(this->getNextTimestamp()); in insertResource()100 SkASSERT(!resource->cacheAccess().isUsableAsScratch()); in insertResource()126 if (resource->cacheAccess().isUsableAsScratch()) { in removeResource()141 back->cacheAccess().abandon(); in abandonAll()147 top->cacheAccess().abandon(); in abandonAll()179 back->cacheAccess().release(); in releaseAll()185 top->cacheAccess().release(); in releaseAll()201 if (resource->cacheAccess().hasRef()) { in refResource()224 if (resource->cacheAccess().isUsableAsScratch()) { in willRemoveScratchKey()237 resource->cacheAccess().removeUniqueKey(); in removeUniqueKey()[all …]
39 inline GrTextureProxy::CacheAccess GrTextureProxy::cacheAccess() { return CacheAccess(this); } in cacheAccess() function41 inline const GrTextureProxy::CacheAccess GrTextureProxy::cacheAccess() const { // NOLINT(readabili… in cacheAccess() function
230 if (resource->cacheAccess().isScratch()) { in update()346 return a->cacheAccess().timestamp() < b->cacheAccess().timestamp(); in CompareTimestamp()350 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
108 inline CacheAccess cacheAccess();109 inline const CacheAccess cacheAccess() const; // NOLINT(readability-const-return-type)
188 inline CacheAccess cacheAccess();189 inline const CacheAccess cacheAccess() const; // NOLINT(readability-const-return-type)
77 proxy->cacheAccess().setUniqueKey(this, key); in assignUniqueKeyToProxy()85 proxy->cacheAccess().setUniqueKey(this, surf->getUniqueKey()); in adoptUniqueKeyFromSurface()1004 proxy->cacheAccess().clearUniqueKey(); in processInvalidUniqueKeyImpl()
811 REPORTER_ASSERT(reporter, !resource->cacheAccess().isScratch()); in test_unbudgeted_to_scratch()831 REPORTER_ASSERT(reporter, resource->cacheAccess().isScratch()); in test_unbudgeted_to_scratch()848 REPORTER_ASSERT(reporter, !resource->cacheAccess().isScratch()); in test_unbudgeted_to_scratch()