Lines Matching refs:cacheAccess
117 resource->cacheAccess().setTimestamp(this->getNextTimestamp()); in insertResource()
183 fResourcesWaitingForFreeMsg[i]->cacheAccess().abandon(); in abandonAll()
190 back->cacheAccess().abandon(); in abandonAll()
196 top->cacheAccess().abandon(); in abandonAll()
230 back->cacheAccess().release(); in releaseAll()
236 top->cacheAccess().release(); in releaseAll()
257 if (resource->internalHasRef() || !resource->cacheAccess().isScratch()) { in operator ()()
315 resource->cacheAccess().removeUniqueKey(); in removeUniqueKey()
338 old->cacheAccess().release(); in changeUniqueKey()
359 resource->cacheAccess().setUniqueKey(newKey); in changeUniqueKey()
381 resource->cacheAccess().setTimestamp(this->getNextTimestamp()); in refAndMakeResourceMRU()
393 SkASSERT(fNonpurgeableResources[*resource->cacheAccess().accessCacheIndex()] == resource); in notifyCntReachedZero()
404 resource->cacheAccess().setTimestamp(this->getNextTimestamp()); in notifyCntReachedZero()
420 resource->cacheAccess().setTimeWhenResourceBecomePurgeable(); in notifyCntReachedZero()
453 resource->cacheAccess().release(); in notifyCntReachedZero()
509 resource->cacheAccess().release(); in purgeAsNeeded()
523 resource->cacheAccess().release(); in purgeUnlockedResources()
542 scratchResources.getAt(i)->cacheAccess().release(); in purgeUnlockedResources()
552 fPurgeableQueue.peek()->cacheAccess().timeWhenResourceBecamePurgeable(); in purgeResourcesNotUsedSince()
563 resource->cacheAccess().release(); in purgeResourcesNotUsedSince()
592 scratchResources.getAt(i)->cacheAccess().release(); in purgeUnlockedResources()
634 *resource->cacheAccess().accessCacheIndex() = index; in addToNonpurgeableArray()
638 int* index = resource->cacheAccess().accessCacheIndex(); in removeFromNonpurgeableArray()
644 *tail->cacheAccess().accessCacheIndex() = *index; in removeFromNonpurgeableArray()
675 uint32_t tsP = sortedPurgeableResources[currP]->cacheAccess().timestamp(); in getNextTimestamp()
676 uint32_t tsNP = fNonpurgeableResources[currNP]->cacheAccess().timestamp(); in getNextTimestamp()
679 sortedPurgeableResources[currP++]->cacheAccess().setTimestamp(fTimestamp++); in getNextTimestamp()
682 *fNonpurgeableResources[currNP]->cacheAccess().accessCacheIndex() = currNP; in getNextTimestamp()
683 fNonpurgeableResources[currNP++]->cacheAccess().setTimestamp(fTimestamp++); in getNextTimestamp()
689 sortedPurgeableResources[currP++]->cacheAccess().setTimestamp(fTimestamp++); in getNextTimestamp()
692 *fNonpurgeableResources[currNP]->cacheAccess().accessCacheIndex() = currNP; in getNextTimestamp()
693 fNonpurgeableResources[currNP++]->cacheAccess().setTimestamp(fTimestamp++); in getNextTimestamp()
756 if (resource->cacheAccess().isScratch()) { in validate()
807 SkASSERT(*fNonpurgeableResources[i]->cacheAccess().accessCacheIndex() == i); in validate()
813 SkASSERT(*fPurgeableQueue.at(i)->cacheAccess().accessCacheIndex() == i); in validate()
844 int index = *resource->cacheAccess().accessCacheIndex(); in isInCache()