Searched refs:scratchResources (Results 1 – 2 of 2) sorted by relevance
530 SkTDArray<GrGpuResource*> scratchResources; in purgeUnlockedResources() local535 *scratchResources.append() = resource; in purgeUnlockedResources()541 for (int i = 0; i < scratchResources.count(); i++) { in purgeUnlockedResources()542 scratchResources.getAt(i)->cacheAccess().release(); in purgeUnlockedResources()577 SkTDArray<GrGpuResource*> scratchResources; in purgeUnlockedResources() local583 *scratchResources.append() = resource; in purgeUnlockedResources()591 for (int i = 0; i < scratchResources.count(); i++) { in purgeUnlockedResources()592 scratchResources.getAt(i)->cacheAccess().release(); in purgeUnlockedResources()
564 SkTDArray<GrGpuResource*> scratchResources; in purgeUnlockedResources() local569 *scratchResources.append() = resource; in purgeUnlockedResources()575 for (int i = 0; i < scratchResources.count(); i++) { in purgeUnlockedResources()576 scratchResources.getAt(i)->cacheAccess().release(); in purgeUnlockedResources()611 SkTDArray<GrGpuResource*> scratchResources; in purgeUnlockedResources() local617 *scratchResources.append() = resource; in purgeUnlockedResources()625 for (int i = 0; i < scratchResources.count(); i++) { in purgeUnlockedResources()626 scratchResources.getAt(i)->cacheAccess().release(); in purgeUnlockedResources()