Home
last modified time | relevance | path

Searched refs:cacheAccess (Results 1 – 8 of 8) sorted by relevance

/third_party/skia/src/gpu/
DGrResourceCache.cpp145 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 …]
DGrTextureProxyCacheAccess.h41 inline GrTextureProxy::CacheAccess GrTextureProxy::cacheAccess() { return CacheAccess(this); } in cacheAccess() function
43 inline const GrTextureProxy::CacheAccess GrTextureProxy::cacheAccess() const { // NOLINT(readabili… in cacheAccess() function
DGrResourceCache.h252 if (resource->cacheAccess().isScratch()) { in update()
366 return a->cacheAccess().timestamp() < b->cacheAccess().timestamp(); in CompareTimestamp()
370 return res->cacheAccess().accessCacheIndex(); in AccessResourceIndex()
DGrGpuResourceCacheAccess.h104 inline GrGpuResource::CacheAccess GrGpuResource::cacheAccess() { return CacheAccess(this); } in cacheAccess() function
106 inline const GrGpuResource::CacheAccess GrGpuResource::cacheAccess() const { // NOLINT(readability… in cacheAccess() function
DGrTextureProxy.h95 inline CacheAccess cacheAccess();
96 inline const CacheAccess cacheAccess() const; // NOLINT(readability-const-return-type)
DGrGpuResource.h267 inline CacheAccess cacheAccess();
268 inline const CacheAccess cacheAccess() const; // NOLINT(readability-const-return-type)
DGrProxyProvider.cpp78 proxy->cacheAccess().setUniqueKey(this, key); in assignUniqueKeyToProxy()
98 proxy->cacheAccess().setUniqueKey(this, surf->getUniqueKey()); in adoptUniqueKeyFromSurface()
912 proxy->cacheAccess().clearUniqueKey(); in processInvalidUniqueKeyImpl()
/third_party/skia/tests/
DResourceCacheTest.cpp746 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()