Home
last modified time | relevance | path

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

/external/skia/src/gpu/graphite/
DResourceCache.cpp214 if (*resource->accessCacheIndex() != -1) { in processReturnedResources()
272 *resource->accessCacheIndex() = index; in addToNonpurgeableArray()
276 int* index = resource->accessCacheIndex(); in removeFromNonpurgeableArray()
282 *tail->accessCacheIndex() = *index; in removeFromNonpurgeableArray()
292 *resource->accessCacheIndex() = -1; in removeFromPurgeableQueue()
297 int index = *resource->accessCacheIndex(); in inPurgeableQueue()
337 *fNonpurgeableResources[currNP]->accessCacheIndex() = currNP; in getNextTimestamp()
347 *fNonpurgeableResources[currNP]->accessCacheIndex() = currNP; in getNextTimestamp()
381 return res->accessCacheIndex(); in AccessResourceIndex()
459 SkASSERT(*fNonpurgeableResources[i]->accessCacheIndex() == i); in validate()
[all …]
DResource.h141 int* accessCacheIndex() const { return &fCacheArrayIndex; } in accessCacheIndex() function
/external/skia/src/gpu/ganesh/
DGrResourceCache.cpp320 SkASSERT(fNonpurgeableResources[*resource->cacheAccess().accessCacheIndex()] == resource); in notifyARefCntReachedZero()
645 *resource->cacheAccess().accessCacheIndex() = index; in addToNonpurgeableArray()
649 int* index = resource->cacheAccess().accessCacheIndex(); in removeFromNonpurgeableArray()
655 *tail->cacheAccess().accessCacheIndex() = *index; in removeFromNonpurgeableArray()
693 *fNonpurgeableResources[currNP]->cacheAccess().accessCacheIndex() = currNP; in getNextTimestamp()
703 *fNonpurgeableResources[currNP]->cacheAccess().accessCacheIndex() = currNP; in getNextTimestamp()
858 SkASSERT(*fNonpurgeableResources[i]->cacheAccess().accessCacheIndex() == i); in validate()
869 SkASSERT(*fPurgeableQueue.at(i)->cacheAccess().accessCacheIndex() == i); in validate()
902 int index = *resource->cacheAccess().accessCacheIndex(); in isInCache()
DGrGpuResourceCacheAccess.h87 int* accessCacheIndex() const { return &fResource->fCacheArrayIndex; } in accessCacheIndex() function
DGrResourceCache.h350 return res->cacheAccess().accessCacheIndex(); in AccessResourceIndex()