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()
608 SkTDArray<GrGpuResource*> scratchResources; in purgeUnlockedResources() local620 *scratchResources.append() = resource; in purgeUnlockedResources()626 for (int i = 0; i < scratchResources.count(); i++) { in purgeUnlockedResources()627 scratchResources.getAt(i)->cacheAccess().release(); in purgeUnlockedResources()683 SkTDArray<GrGpuResource*> scratchResources; in purgeUnlockedResources() local689 *scratchResources.append() = resource; in purgeUnlockedResources()697 for (int i = 0; i < scratchResources.count(); i++) { in purgeUnlockedResources()698 scratchResources.getAt(i)->cacheAccess().release(); in purgeUnlockedResources()