Home
last modified time | relevance | path

Searched refs:cmdBuff (Results 1 – 4 of 4) sorted by relevance

/hardware/google/gfxstream/host/vulkan/
Dvk_util.h433 VkCommandBuffer cmdBuff; in runSingleTimeCommands() local
439 VK_CHECK(self.m_vk.vkAllocateCommandBuffers(self.m_vkDevice, &cmdBuffAllocInfo, &cmdBuff)); in runSingleTimeCommands()
442 VK_CHECK(self.m_vk.vkBeginCommandBuffer(cmdBuff, &beginInfo)); in runSingleTimeCommands()
443 f(cmdBuff); in runSingleTimeCommands()
444 VK_CHECK(self.m_vk.vkEndCommandBuffer(cmdBuff)); in runSingleTimeCommands()
447 .pCommandBuffers = &cmdBuff}; in runSingleTimeCommands()
456 self.m_vk.vkFreeCommandBuffers(self.m_vkDevice, self.m_vkCommandPool, 1, &cmdBuff); in runSingleTimeCommands()
462 void recordImageLayoutTransformCommands(VkCommandBuffer cmdBuff, VkImage image, in recordImageLayoutTransformCommands() argument
480 self.m_vk.vkCmdPipelineBarrier(cmdBuff, VK_PIPELINE_STAGE_ALL_COMMANDS_BIT, in recordImageLayoutTransformCommands()
DDisplayVk.cpp408 VkCommandBuffer cmdBuff = postResource->m_vkCommandBuffer; in postImpl() local
409 VK_CHECK(m_vk.vkResetCommandBuffer(cmdBuff, 0)); in postImpl()
415 VK_CHECK(m_vk.vkBeginCommandBuffer(cmdBuff, &beginInfo)); in postImpl()
436 m_vk.vkCmdPipelineBarrier(cmdBuff, VK_PIPELINE_STAGE_TRANSFER_BIT, in postImpl()
484 m_vk.vkCmdBlitImage(cmdBuff, sourceImageInfoVk->image, VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, in postImpl()
506 m_vk.vkCmdPipelineBarrier(cmdBuff, VK_PIPELINE_STAGE_TRANSFER_BIT, in postImpl()
510 VK_CHECK(m_vk.vkEndCommandBuffer(cmdBuff)); in postImpl()
521 .pCommandBuffers = &cmdBuff, in postImpl()
DCompositorVk.cpp634 runSingleTimeCommands(m_vkQueue, m_vkQueueLock, [&, this](const VkCommandBuffer& cmdBuff) { in setUpDefaultImage() argument
654 m_vk.vkCmdPipelineBarrier(cmdBuff, in setUpDefaultImage()
687 m_vk.vkCmdCopyBufferToImage(cmdBuff, stagingBuffer, image, in setUpDefaultImage()
709 m_vk.vkCmdPipelineBarrier(cmdBuff, in setUpDefaultImage()
850 runSingleTimeCommands(m_vkQueue, m_vkQueueLock, [&, this](const auto& cmdBuff) { in copyBuffer() argument
855 m_vk.vkCmdCopyBuffer(cmdBuff, src, dst, 1, &copyRegion); in copyBuffer()
/hardware/google/gfxstream/host/tests/
DVkTestUtils.h169 runSingleTimeCommands(m_vkQueue, nullptr, [this](const auto &cmdBuff) { in setUpImage()
171 cmdBuff, m_vkImage, VK_IMAGE_LAYOUT_UNDEFINED, k_vkImageLayout); in setUpImage()
195 bool submitCommandBufferAndWait(VkCommandBuffer cmdBuff) const { in submitCommandBufferAndWait()
198 .pCommandBuffers = &cmdBuff}; in submitCommandBufferAndWait()