Home
last modified time | relevance | path

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

/external/skia/src/gpu/
DGrResourceCache.cpp127 resource->cacheAccess().setTimestamp(this->getNextTimestamp()); in insertResource()
149 SkASSERT(!resource->cacheAccess().isWrapped()); in insertResource()
191 back->cacheAccess().abandon(); in abandonAll()
197 top->cacheAccess().abandon(); in abandonAll()
215 back->cacheAccess().release(); in releaseAll()
221 top->cacheAccess().release(); in releaseAll()
238 if (resource->internalHasRef() || !resource->cacheAccess().isScratch()) { in operator ()()
285 resource->cacheAccess().removeUniqueKey(); in removeUniqueKey()
307 SkDEBUGCODE(resource->cacheAccess().removeUniqueKey();) in changeUniqueKey()
308 old->cacheAccess().release(); in changeUniqueKey()
[all …]
DGrGpuResourceCacheAccess.h84 inline GrGpuResource::CacheAccess GrGpuResource::cacheAccess() { return CacheAccess(this); } in cacheAccess() function
86 inline const GrGpuResource::CacheAccess GrGpuResource::cacheAccess() const { in cacheAccess() function
DGrResourceCache.h239 return a->cacheAccess().timestamp() < b->cacheAccess().timestamp(); in CompareTimestamp()
243 return res->cacheAccess().accessCacheIndex(); in AccessResourceIndex()
DGrTest.cpp90 if (resource->cacheAccess().isScratch()) { in dumpStats()
93 if (resource->cacheAccess().isWrapped()) { in dumpStats()
/external/skia/include/gpu/
DGrGpuResource.h231 inline CacheAccess cacheAccess();
232 inline const CacheAccess cacheAccess() const;
/external/skia/tests/
DResourceCacheTest.cpp509 REPORTER_ASSERT(reporter, !resource->cacheAccess().isScratch()); in test_unbudgeted_to_scratch()
526 REPORTER_ASSERT(reporter, resource->cacheAccess().isScratch()); in test_unbudgeted_to_scratch()
541 REPORTER_ASSERT(reporter, !resource->cacheAccess().isScratch()); in test_unbudgeted_to_scratch()