Home
last modified time | relevance | path

Searched refs:sortedPurgeableResources (Results 1 – 2 of 2) sorted by relevance

/external/skqp/src/gpu/
DGrResourceCache.cpp658 SkTDArray<GrGpuResource*> sortedPurgeableResources; in getNextTimestamp() local
659 sortedPurgeableResources.setReserve(fPurgeableQueue.count()); in getNextTimestamp()
662 *sortedPurgeableResources.append() = fPurgeableQueue.peek(); in getNextTimestamp()
673 while (currP < sortedPurgeableResources.count() && in getNextTimestamp()
675 uint32_t tsP = sortedPurgeableResources[currP]->cacheAccess().timestamp(); in getNextTimestamp()
679 sortedPurgeableResources[currP++]->cacheAccess().setTimestamp(fTimestamp++); in getNextTimestamp()
688 while (currP < sortedPurgeableResources.count()) { in getNextTimestamp()
689 sortedPurgeableResources[currP++]->cacheAccess().setTimestamp(fTimestamp++); in getNextTimestamp()
697 for (int i = 0; i < sortedPurgeableResources.count(); ++i) { in getNextTimestamp()
698 fPurgeableQueue.insert(sortedPurgeableResources[i]); in getNextTimestamp()
/external/skia/src/gpu/
DGrResourceCache.cpp778 SkTDArray<GrGpuResource*> sortedPurgeableResources; in getNextTimestamp() local
779 sortedPurgeableResources.setReserve(fPurgeableQueue.count()); in getNextTimestamp()
782 *sortedPurgeableResources.append() = fPurgeableQueue.peek(); in getNextTimestamp()
793 while (currP < sortedPurgeableResources.count() && in getNextTimestamp()
795 uint32_t tsP = sortedPurgeableResources[currP]->cacheAccess().timestamp(); in getNextTimestamp()
799 sortedPurgeableResources[currP++]->cacheAccess().setTimestamp(fTimestamp++); in getNextTimestamp()
808 while (currP < sortedPurgeableResources.count()) { in getNextTimestamp()
809 sortedPurgeableResources[currP++]->cacheAccess().setTimestamp(fTimestamp++); in getNextTimestamp()
817 for (int i = 0; i < sortedPurgeableResources.count(); ++i) { in getNextTimestamp()
818 fPurgeableQueue.insert(sortedPurgeableResources[i]); in getNextTimestamp()