Home
last modified time | relevance | path

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

/external/skia/src/gpu/
DGrResourceCache.cpp128 resource->cacheAccess().setTimestamp(this->getNextTimestamp()); in insertResource()
150 SkASSERT(!resource->cacheAccess().isExternal()); in insertResource()
192 back->cacheAccess().abandon(); in abandonAll()
198 top->cacheAccess().abandon(); in abandonAll()
216 back->cacheAccess().release(); in releaseAll()
222 top->cacheAccess().release(); in releaseAll()
239 if (resource->internalHasRef() || !resource->cacheAccess().isScratch()) { in operator ()()
293 resource->cacheAccess().removeUniqueKey(); in removeUniqueKey()
315 SkDEBUGCODE(resource->cacheAccess().removeUniqueKey();) in changeUniqueKey()
316 old->cacheAccess().release(); in changeUniqueKey()
[all …]
DGrResourceCache.h211 if (resource->cacheAccess().isScratch()) { in update()
214 if (resource->cacheAccess().isExternal()) { in update()
217 if (resource->cacheAccess().isBorrowed()) { in update()
220 if (resource->cacheAccess().isAdopted()) { in update()
297 return a->cacheAccess().timestamp() < b->cacheAccess().timestamp(); in CompareTimestamp()
301 return res->cacheAccess().accessCacheIndex(); in AccessResourceIndex()
DGrGpuResourceCacheAccess.h96 inline GrGpuResource::CacheAccess GrGpuResource::cacheAccess() { return CacheAccess(this); } in cacheAccess() function
98 inline const GrGpuResource::CacheAccess GrGpuResource::cacheAccess() const { in cacheAccess() function
DGrGpuResource.cpp172 if (this->cacheAccess().isExternal()) { in setScratchKey()
/external/skia/include/gpu/
DGrGpuResource.h236 inline CacheAccess cacheAccess();
237 inline const CacheAccess cacheAccess() const;
/external/skia/tests/
DResourceCacheTest.cpp572 REPORTER_ASSERT(reporter, !resource->cacheAccess().isScratch()); in test_unbudgeted_to_scratch()
589 REPORTER_ASSERT(reporter, resource->cacheAccess().isScratch()); in test_unbudgeted_to_scratch()
604 REPORTER_ASSERT(reporter, !resource->cacheAccess().isScratch()); in test_unbudgeted_to_scratch()