Lines Matching refs:m_vk

61     : m_vk(vk),  in DisplayVk()
79 VK_CHECK(m_vk.vkCreateCommandPool(m_vkDevice, &commandPoolCi, nullptr, &m_vkCommandPool)); in DisplayVk()
83 ImageBorrowResource::create(m_vk, m_vkDevice, m_vkCommandPool)); in DisplayVk()
90 m_vk.vkDestroyCommandPool(m_vkDevice, m_vkCommandPool, nullptr); in ~DisplayVk()
96 VK_CHECK(vk_util::waitForVkQueueIdleWithRetry(m_vk, m_swapChainVkQueue)); in drainQueues()
103 VK_CHECK(vk_util::waitForVkQueueIdleWithRetry(m_vk, m_compositorVkQueue)); in drainQueues()
136 m_vk, m_vkPhysicalDevice, surfaceVk->getSurface(), m_swapChainQueueFamilyIndex)) { in recreateSwapchain()
143 m_vk, surfaceVk->getSurface(), m_vkPhysicalDevice, surface->getWidth(), in recreateSwapchain()
149 m_vk.vkGetPhysicalDeviceFormatProperties(m_vkPhysicalDevice, in recreateSwapchain()
157 SwapChainStateVk::createSwapChainVk(m_vk, m_vkDevice, swapChainCi->mCreateInfo); in recreateSwapchain()
163 m_freePostResources.emplace_back(PostResource::create(m_vk, m_vkDevice, m_vkCommandPool)); in recreateSwapchain()
221 VkResult fenceStatus = m_vk.vkGetFenceStatus( in postImpl()
230 VK_CHECK(m_vk.vkWaitForFences( in postImpl()
233 VK_CHECK(m_vk.vkResetFences(m_vkDevice, 1, &(*freeImageBorrowResource)->m_completeFence)); in postImpl()
244 : m_vk(vk), in postImpl()
266 m_vk.vkBeginCommandBuffer(acquireResource.m_vkCommandBuffer, &acquireBeginInfo)); in postImpl()
268 m_vk.vkCmdPipelineBarrier( in postImpl()
277 m_vk.vkCmdPipelineBarrier( in postImpl()
284 VK_CHECK(m_vk.vkEndCommandBuffer(acquireResource.m_vkCommandBuffer)); in postImpl()
292 m_vk.vkBeginCommandBuffer(releaseResource.m_vkCommandBuffer, &releaseBeginInfo)); in postImpl()
294 m_vk.vkCmdPipelineBarrier( in postImpl()
301 m_vk.vkCmdPipelineBarrier( in postImpl()
307 VK_CHECK(m_vk.vkEndCommandBuffer(releaseResource.m_vkCommandBuffer)); in postImpl()
323 m_vk.vkQueueSubmit(m_vkQueue, 1, &submitInfo, acquireResource.m_completeFence)); in postImpl()
327 const VulkanDispatch& m_vk; in postImpl() member
345 VK_CHECK(m_vk.vkQueueSubmit(m_vkQueue, 1, &submitInfo, in postImpl()
349 } imageBorrower(m_vk, m_compositorVkQueue, m_compositorVkQueueLock, in postImpl()
396 m_vk.vkAcquireNextImageKHR(m_vkDevice, m_swapChainStateVk->getSwapChain(), UINT64_MAX, in postImpl()
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()
513 VK_CHECK(m_vk.vkResetFences(m_vkDevice, 1, &postCompleteFence)); in postImpl()
526 VK_CHECK(m_vk.vkQueueSubmit(m_compositorVkQueue, 1, &submitInfo, postCompleteFence)); in postImpl()
530 VkResult res = m_vk.vkWaitForFences(m_vkDevice, 1, &postCompleteFence, VK_TRUE, in postImpl()
537 res = m_vk.vkWaitForFences(m_vkDevice, 1, &postCompleteFence, VK_TRUE, in postImpl()
555 presentRes = m_vk.vkQueuePresentKHR(m_swapChainVkQueue, &presentInfo); in postImpl()
576 m_vk.vkGetPhysicalDeviceFormatProperties(m_vkPhysicalDevice, format, &formatProperties); in getFormatFeatures()
709 m_vk.vkFreeCommandBuffers(m_vkDevice, m_vkCommandPool, 1, &m_vkCommandBuffer); in ~PostResource()
710 m_vk.vkDestroyFence(m_vkDevice, m_swapchainImageReleaseFence, nullptr); in ~PostResource()
711 m_vk.vkDestroySemaphore(m_vkDevice, m_swapchainImageAcquireSemaphore, nullptr); in ~PostResource()
712 m_vk.vkDestroySemaphore(m_vkDevice, m_swapchainImageReleaseSemaphore, nullptr); in ~PostResource()
725 m_vk(vk), in PostResource()
752 m_vk.vkFreeCommandBuffers(m_vkDevice, m_vkCommandPool, 1, &m_vkCommandBuffer); in ~ImageBorrowResource()
760 m_vk(vk), in ImageBorrowResource()