Home
last modified time | relevance | path

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

/external/skia/src/gpu/
DGrResourceCache.cpp102 resource->cacheAccess().setTimestamp(this->getNextTimestamp()); in insertResource()
168 back->cacheAccess().abandon(); in abandonAll()
174 top->cacheAccess().abandon(); in abandonAll()
192 back->cacheAccess().release(); in releaseAll()
198 top->cacheAccess().release(); in releaseAll()
217 if (resource->internalHasRef() || !resource->cacheAccess().isScratch()) { in operator ()()
273 resource->cacheAccess().removeUniqueKey(); in removeUniqueKey()
306 SkDEBUGCODE(resource->cacheAccess().removeUniqueKey();) in changeUniqueKey()
307 old->cacheAccess().release(); in changeUniqueKey()
313 resource->cacheAccess().setUniqueKey(newKey); in changeUniqueKey()
[all …]
DGrResourceCache.h199 if (resource->cacheAccess().isScratch()) { in update()
282 return a->cacheAccess().timestamp() < b->cacheAccess().timestamp(); in CompareTimestamp()
286 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 { in cacheAccess() function
/external/skia/include/gpu/
DGrGpuResource.h224 inline CacheAccess cacheAccess();
225 inline const CacheAccess cacheAccess() const;
/external/skia/tests/
DResourceCacheTest.cpp608 REPORTER_ASSERT(reporter, !resource->cacheAccess().isScratch()); in test_unbudgeted_to_scratch()
625 REPORTER_ASSERT(reporter, resource->cacheAccess().isScratch()); in test_unbudgeted_to_scratch()
640 REPORTER_ASSERT(reporter, !resource->cacheAccess().isScratch()); in test_unbudgeted_to_scratch()