Lines Matching refs:queueState
380 for (auto queueState : anbInfo->queueStates) { in teardownAndroidNativeBufferImage() local
381 queueState.teardown(vk, device); in teardownAndroidNativeBufferImage()
532 AndroidNativeBufferInfo::QueueState& queueState = in setAndroidNativeImageSemaphoreSignaled() local
534 if (!queueState.queue) { in setAndroidNativeImageSemaphoreSignaled()
535 queueState.setup(vk, anbInfo->device, defaultQueue, queueFamilyIndex, defaultQueueLock); in setAndroidNativeImageSemaphoreSignaled()
548 vk->vkBeginCommandBuffer(queueState.cb2, &beginInfo); in setAndroidNativeImageSemaphoreSignaled()
550 emu->debugUtilsHelper.cmdBeginDebugLabel(queueState.cb2, in setAndroidNativeImageSemaphoreSignaled()
572 vk->vkCmdPipelineBarrier(queueState.cb2, VK_PIPELINE_STAGE_ALL_COMMANDS_BIT, in setAndroidNativeImageSemaphoreSignaled()
576 emu->debugUtilsHelper.cmdEndDebugLabel(queueState.cb2); in setAndroidNativeImageSemaphoreSignaled()
578 vk->vkEndCommandBuffer(queueState.cb2); in setAndroidNativeImageSemaphoreSignaled()
587 &queueState.cb2, in setAndroidNativeImageSemaphoreSignaled()
592 AutoLock qlock(*queueState.lock); in setAndroidNativeImageSemaphoreSignaled()
594 VK_CHECK(vk->vkQueueSubmit(queueState.queue, 1, &submitInfo, fence)); in setAndroidNativeImageSemaphoreSignaled()
596 const AndroidNativeBufferInfo::QueueState& queueState = in setAndroidNativeImageSemaphoreSignaled() local
609 AutoLock qlock(*queueState.lock); in setAndroidNativeImageSemaphoreSignaled()
610 VK_CHECK(vk->vkQueueSubmit(queueState.queue, 1, &submitInfo, fence)); in setAndroidNativeImageSemaphoreSignaled()
638 auto& queueState = anbInfo->queueStates[queueFamilyIndex]; in syncImageToColorBuffer() local
640 if (!queueState.queue) { in syncImageToColorBuffer()
641 queueState.setup(vk, anbInfo->device, queue, queueFamilyIndex, queueLock); in syncImageToColorBuffer()
654 vk->vkBeginCommandBuffer(queueState.cb, &beginInfo); in syncImageToColorBuffer()
656 emu->debugUtilsHelper.cmdBeginDebugLabel(queueState.cb, in syncImageToColorBuffer()
681 vk->vkCmdPipelineBarrier(queueState.cb, VK_PIPELINE_STAGE_ALL_COMMANDS_BIT, in syncImageToColorBuffer()
712 vk->vkCmdPipelineBarrier(queueState.cb, VK_PIPELINE_STAGE_ALL_COMMANDS_BIT, in syncImageToColorBuffer()
730 vk->vkCmdCopyImageToBuffer(queueState.cb, anbInfo->image, in syncImageToColorBuffer()
754 vk->vkCmdPipelineBarrier(queueState.cb, VK_PIPELINE_STAGE_ALL_COMMANDS_BIT, in syncImageToColorBuffer()
759 emu->debugUtilsHelper.cmdEndDebugLabel(queueState.cb); in syncImageToColorBuffer()
761 vk->vkEndCommandBuffer(queueState.cb); in syncImageToColorBuffer()
773 &queueState.cb, in syncImageToColorBuffer()
781 VK_CHECK(vk->vkQueueSubmit(queueState.queue, 1, &submitInfo, qsriFence)); in syncImageToColorBuffer()