Home
last modified time | relevance | path

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

/external/skqp/src/gpu/vk/
DGrVkCommandBuffer.cpp46 for (int i = 0; i < fTrackedResources.count(); ++i) { in freeGPUData()
47 fTrackedResources[i]->notifyRemovedFromCommandBuffer(); in freeGPUData()
48 fTrackedResources[i]->unref(gpu); in freeGPUData()
71 for (int i = 0; i < fTrackedResources.count(); ++i) { in abandonGPUData()
72 fTrackedResources[i]->notifyRemovedFromCommandBuffer(); in abandonGPUData()
73 fTrackedResources[i]->unrefAndAbandon(); in abandonGPUData()
93 for (int i = 0; i < fTrackedResources.count(); ++i) { in releaseResources()
94 fTrackedResources[i]->notifyRemovedFromCommandBuffer(); in releaseResources()
95 fTrackedResources[i]->unref(gpu); in releaseResources()
108 fTrackedResources.reset(); in releaseResources()
[all …]
DGrVkCommandBuffer.h112 fTrackedResources.append(1, &resource); in addResource()
141 fTrackedResources.setReserve(kInitialTrackedResourcesCount); in fIsActive()
151 SkTDArray<const GrVkResource*> fTrackedResources; variable
/external/skia/src/gpu/d3d/
DGrD3DCommandList.h121 fTrackedResources.push_back(std::move(resource)); in addResource()
138 SkSTArray<kInitialTrackedResourcesCount, sk_sp<GrManagedResource>> fTrackedResources; variable
DGrD3DCommandList.cpp66 if (fTrackedResources.count() == 0 && fTrackedRecycledResources.count() == 0) { in releaseResources()
70 for (int i = 0; i < fTrackedResources.count(); ++i) { in releaseResources()
71 fTrackedResources[i]->notifyFinishedWithWorkOnGpu(); in releaseResources()
79 fTrackedResources.reset(); in releaseResources()
/external/skia/src/gpu/vk/
DGrVkCommandBuffer.h114 fTrackedResources.push_back(std::move(resource)); in addResource()
165 TrackedResourceArray<sk_sp<const GrManagedResource>> fTrackedResources; variable
DGrVkCommandBuffer.cpp44 SkASSERT(!fTrackedResources.count()); in freeGPUData()
60 for (int i = 0; i < fTrackedResources.count(); ++i) { in releaseResources()
61 fTrackedResources[i]->notifyFinishedWithWorkOnGpu(); in releaseResources()
63 fTrackedResources.reset(); in releaseResources()