Searched refs:fTrackedRecycledResources (Results 1 – 6 of 6) sorted by relevance
51 for (int i = 0; i < fTrackedRecycledResources.count(); ++i) { in freeGPUData()52 fTrackedRecycledResources[i]->notifyRemovedFromCommandBuffer(); in freeGPUData()53 fTrackedRecycledResources[i]->recycle(const_cast<GrVkGpu*>(gpu)); in freeGPUData()76 for (int i = 0; i < fTrackedRecycledResources.count(); ++i) { in abandonGPUData()77 fTrackedRecycledResources[i]->notifyRemovedFromCommandBuffer(); in abandonGPUData()79 fTrackedRecycledResources[i]->unrefAndAbandon(); in abandonGPUData()97 for (int i = 0; i < fTrackedRecycledResources.count(); ++i) { in releaseResources()98 fTrackedRecycledResources[i]->notifyRemovedFromCommandBuffer(); in releaseResources()99 fTrackedRecycledResources[i]->recycle(const_cast<GrVkGpu*>(gpu)); in releaseResources()109 fTrackedRecycledResources.reset(); in releaseResources()[all …]
120 fTrackedRecycledResources.append(1, &resource); in addRecycledResource()142 fTrackedRecycledResources.setReserve(kInitialTrackedResourcesCount); in fIsActive()152 SkTDArray<const GrVkRecycledResource*> fTrackedRecycledResources; variable
66 if (fTrackedResources.count() == 0 && fTrackedRecycledResources.count() == 0) { in releaseResources()73 for (int i = 0; i < fTrackedRecycledResources.count(); ++i) { in releaseResources()74 fTrackedRecycledResources[i]->notifyFinishedWithWorkOnGpu(); in releaseResources()75 auto resource = fTrackedRecycledResources[i].release(); in releaseResources()80 fTrackedRecycledResources.reset(); in releaseResources()
128 fTrackedRecycledResources.push_back(std::move(resource)); in addRecycledResource()139 SkSTArray<kInitialTrackedResourcesCount, sk_sp<GrRecycledResource>> fTrackedRecycledResources; variable
125 fTrackedRecycledResources.push_back(std::move(resource)); in addRecycledResource()166 TrackedResourceArray<gr_rp<const GrRecycledResource>> fTrackedRecycledResources; variable
45 SkASSERT(!fTrackedRecycledResources.count()); in freeGPUData()64 for (int i = 0; i < fTrackedRecycledResources.count(); ++i) { in releaseResources()65 fTrackedRecycledResources[i]->notifyFinishedWithWorkOnGpu(); in releaseResources()67 fTrackedRecycledResources.reset(); in releaseResources()