Home
last modified time | relevance | path

Searched refs:fTrackedRecycledResources (Results 1 – 6 of 6) sorted by relevance

/external/skqp/src/gpu/vk/
DGrVkCommandBuffer.cpp51 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 …]
DGrVkCommandBuffer.h120 fTrackedRecycledResources.append(1, &resource); in addRecycledResource()
142 fTrackedRecycledResources.setReserve(kInitialTrackedResourcesCount); in fIsActive()
152 SkTDArray<const GrVkRecycledResource*> fTrackedRecycledResources; variable
/external/skia/src/gpu/d3d/
DGrD3DCommandList.cpp66 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()
DGrD3DCommandList.h128 fTrackedRecycledResources.push_back(std::move(resource)); in addRecycledResource()
139 SkSTArray<kInitialTrackedResourcesCount, sk_sp<GrRecycledResource>> fTrackedRecycledResources; variable
/external/skia/src/gpu/vk/
DGrVkCommandBuffer.h125 fTrackedRecycledResources.push_back(std::move(resource)); in addRecycledResource()
166 TrackedResourceArray<gr_rp<const GrRecycledResource>> fTrackedRecycledResources; variable
DGrVkCommandBuffer.cpp45 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()