Home
last modified time | relevance | path

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

/external/skia/src/gpu/ganesh/
DGrResourceCache.cpp79 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 …]
DGrTextureProxyCacheAccess.h39 inline GrTextureProxy::CacheAccess GrTextureProxy::cacheAccess() { return CacheAccess(this); } in cacheAccess() function
41 inline const GrTextureProxy::CacheAccess GrTextureProxy::cacheAccess() const { // NOLINT(readabili… in cacheAccess() function
DGrResourceCache.h230 if (resource->cacheAccess().isScratch()) { in update()
346 return a->cacheAccess().timestamp() < b->cacheAccess().timestamp(); in CompareTimestamp()
350 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.h108 inline CacheAccess cacheAccess();
109 inline const CacheAccess cacheAccess() const; // NOLINT(readability-const-return-type)
DGrGpuResource.h188 inline CacheAccess cacheAccess();
189 inline const CacheAccess cacheAccess() const; // NOLINT(readability-const-return-type)
DGrProxyProvider.cpp77 proxy->cacheAccess().setUniqueKey(this, key); in assignUniqueKeyToProxy()
85 proxy->cacheAccess().setUniqueKey(this, surf->getUniqueKey()); in adoptUniqueKeyFromSurface()
1004 proxy->cacheAccess().clearUniqueKey(); in processInvalidUniqueKeyImpl()
/external/skia/tests/
DResourceCacheTest.cpp811 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()