Home
last modified time | relevance | path

Searched refs:mUse (Results 1 – 9 of 9) sorted by relevance

/external/angle/src/libANGLE/renderer/vulkan/
DCommandGraph.h307 SharedResourceUse() : mUse(nullptr) {} in SharedResourceUse()
309 SharedResourceUse(SharedResourceUse &&rhs) : mUse(rhs.mUse) { rhs.mUse = nullptr; } in SharedResourceUse()
312 std::swap(mUse, rhs.mUse);
316 ANGLE_INLINE bool valid() const { return mUse != nullptr; } in valid()
320 ASSERT(!mUse); in init()
321 mUse = new ResourceUse; in init()
322 mUse->counter++; in init()
328 ASSERT(mUse->counter > 0); in release()
329 if (--mUse->counter == 0) in release()
331 delete mUse; in release() local
[all …]
DResourceVk.h182 void setSerial(SerialIndex index, Serial serial) { mUse.setSerial(index, serial); } in setSerial()
186 mUse.setSerial(queueSerial.getIndex(), queueSerial.getSerial()); in setQueueSerial()
189 void mergeResourceUse(const ResourceUse &use) { mUse.merge(use); } in mergeResourceUse()
194 return mUse.usedByCommandBuffer(commandBufferQueueSerial); in usedByCommandBuffer()
197 const ResourceUse &getResourceUse() const { return mUse; } in getResourceUse()
201 Resource(Resource &&other) : Resource() { mUse = std::move(other.mUse); } in Resource()
204 std::swap(mUse, rhs.mUse);
209 ResourceUse mUse; variable
229 mUse.setQueueSerial(writeQueueSerial); in setWriteQueueSerial()
236 return mUse.usedByCommandBuffer(commandBufferQueueSerial); in usedByCommandBuffer()
DResourceVk.cpp24 if (contextVk->hasUnsubmittedUse(mUse)) in waitForIdle()
31 if (!renderer->hasResourceUseFinished(mUse)) in waitForIdle()
37 ANGLE_TRY(renderer->finishResourceUse(contextVk, mUse)); in waitForIdle()
40 ASSERT(renderer->hasResourceUseFinished(mUse)); in waitForIdle()
104 renderer->collectGarbage(mUse, &mObject); in release()
DSyncVk.cpp85 ASSERT(!mUse.valid()); in initialize()
123 ANGLE_TRY(renderer->waitForResourceUseToFinishWithUserTimeout(context, mUse, timeout, &status)); in clientWait()
160 ASSERT(mUse.valid()); in getStatus()
162 if (renderer->hasResourceUseFinished(mUse)) in getStatus()
170 *signaledOut = renderer->hasResourceUseFinished(mUse); in getStatus()
183 if (contextVk->getRenderer()->hasResourceUseSubmitted(mUse)) in submitSyncIfDeferred()
200 if (sharedContextVk->hasUnsubmittedUse(mUse)) in submitSyncIfDeferred()
208 ASSERT(contextVk->getRenderer()->hasResourceUseSubmitted(mUse)); in submitSyncIfDeferred()
DCommandGraph.cpp292 mUse.init(); in CommandGraphResource()
297 mUse.release(); in ~CommandGraphResource()
302 return contextVk->finishToSerial(mUse.getSerial()); in finishRunningCommands()
331 contextVk->getResourceUseList().add(mUse); in recordCommands()
DSurfaceVk.cpp1096 mUse.merge(contextVk->getSubmittedResourceUse()); in unMakeCurrent()
1402 mUse.merge(contextVk->getSubmittedResourceUse()); in recreateSwapchain()
1440 mUse.merge(contextVk->getSubmittedResourceUse()); in recreateSwapchain()
1871 mUse.merge(mDepthStencilImage.getResourceUse()); in finish()
1872 mUse.merge(mColorImageMS.getResourceUse()); in finish()
1875 mUse.merge(swapchainImage.image->getResourceUse()); in finish()
1878 return renderer->finishResourceUse(context, mUse); in finish()
2674 mUse.setQueueSerial(queueSerial); in postProcessUnlockedTryAcquire()
Dvk_helpers.cpp3620 renderer->collectGarbage(mUse, std::move(garbageList)); in release()
3621 mUse.reset(); in release()
4186 mUse.reset(); in deinit()
4321 return mUse.valid(); in hasSubmittedCommands()
5067 renderer->collectSuballocationGarbage(mUse, std::move(mSuballocation), in release()
5070 mUse.reset(); in release()
5757 renderer->collectAllocationGarbage(mUse, mVmaAllocation); in releaseImage()
5758 renderer->collectGarbage(mUse, &mImage, &mDeviceMemory); in releaseImage()
5759 mUse.reset(); in releaseImage()
5949 mUse.setQueueSerial(queueSerial); in initializeNonZeroMemory()
[all …]
Dvk_cache_utils.cpp4700 contextVk->getRenderer()->collectGarbage(mUse, &mPipeline); in release()
4701 contextVk->getRenderer()->collectGarbage(mUse, &mLinkedPipelineToRelease); in release()
4710 mUse, &mMonolithicPipelineCreationTask.getTask()->getPipeline()); in release()
Dvk_helpers.h148 mUse = use; in DescriptorSetHelper()