Lines Matching refs:VK_CALL
55 #define VK_CALL(X) GR_VK_CALL(this->vkInterface(), X) macro
192 VK_CALL(GetPhysicalDeviceProperties(backendContext.fPhysicalDevice, &fPhysDevProps)); in GrVkGpu()
193 VK_CALL(GetPhysicalDeviceMemoryProperties(backendContext.fPhysicalDevice, &fPhysDevMemProps)); in GrVkGpu()
210 VkResult res = VK_CALL(QueueWaitIdle(fQueue)); in destroyResources()
1409 VK_CALL(DestroyImage(this->device(), image, nullptr)); in createTestingOnlyVkImage()
1427 err = VK_CALL(AllocateCommandBuffers(fDevice, &cmdInfo, &cmdBuffer)); in createTestingOnlyVkImage()
1430 VK_CALL(DestroyImage(fDevice, image, nullptr)); in createTestingOnlyVkImage()
1441 err = VK_CALL(BeginCommandBuffer(cmdBuffer, &cmdBufferBeginInfo)); in createTestingOnlyVkImage()
1493 err = VK_CALL(CreateBuffer(fDevice, &bufInfo, nullptr, &buffer)); in createTestingOnlyVkImage()
1497 VK_CALL(DestroyImage(fDevice, image, nullptr)); in createTestingOnlyVkImage()
1498 VK_CALL(EndCommandBuffer(cmdBuffer)); in createTestingOnlyVkImage()
1499 VK_CALL(FreeCommandBuffers(fDevice, fCmdPool->vkCommandPool(), 1, &cmdBuffer)); in createTestingOnlyVkImage()
1506 VK_CALL(DestroyImage(fDevice, image, nullptr)); in createTestingOnlyVkImage()
1507 VK_CALL(DestroyBuffer(fDevice, buffer, nullptr)); in createTestingOnlyVkImage()
1508 VK_CALL(EndCommandBuffer(cmdBuffer)); in createTestingOnlyVkImage()
1509 VK_CALL(FreeCommandBuffers(fDevice, fCmdPool->vkCommandPool(), 1, &cmdBuffer)); in createTestingOnlyVkImage()
1531 VK_CALL(DestroyImage(fDevice, image, nullptr)); in createTestingOnlyVkImage()
1533 VK_CALL(DestroyBuffer(fDevice, buffer, nullptr)); in createTestingOnlyVkImage()
1534 VK_CALL(EndCommandBuffer(cmdBuffer)); in createTestingOnlyVkImage()
1535 VK_CALL(FreeCommandBuffers(fDevice, fCmdPool->vkCommandPool(), 1, &cmdBuffer)); in createTestingOnlyVkImage()
1556 VK_CALL(CmdPipelineBarrier(cmdBuffer, GrVkImage::LayoutToPipelineSrcStageFlags(initialLayout), in createTestingOnlyVkImage()
1579 VK_CALL(CmdCopyBufferToImage(cmdBuffer, buffer, image, initialLayout, regions.count(), in createTestingOnlyVkImage()
1596 VK_CALL(CmdPipelineBarrier(cmdBuffer, in createTestingOnlyVkImage()
1607 err = VK_CALL(EndCommandBuffer(cmdBuffer)); in createTestingOnlyVkImage()
1616 err = VK_CALL(CreateFence(fDevice, &fenceInfo, nullptr, &fence)); in createTestingOnlyVkImage()
1630 err = VK_CALL(QueueSubmit(this->queue(), 1, &submitInfo, fence)); in createTestingOnlyVkImage()
1633 err = VK_CALL(WaitForFences(fDevice, 1, &fence, true, UINT64_MAX)); in createTestingOnlyVkImage()
1636 VK_CALL(DestroyImage(fDevice, image, nullptr)); in createTestingOnlyVkImage()
1638 VK_CALL(DestroyBuffer(fDevice, buffer, nullptr)); in createTestingOnlyVkImage()
1639 VK_CALL(FreeCommandBuffers(fDevice, fCmdPool->vkCommandPool(), 1, &cmdBuffer)); in createTestingOnlyVkImage()
1640 VK_CALL(DestroyFence(fDevice, fence, nullptr)); in createTestingOnlyVkImage()
1649 VK_CALL(DestroyBuffer(fDevice, buffer, nullptr)); in createTestingOnlyVkImage()
1651 VK_CALL(FreeCommandBuffers(fDevice, fCmdPool->vkCommandPool(), 1, &cmdBuffer)); in createTestingOnlyVkImage()
1652 VK_CALL(DestroyFence(fDevice, fence, nullptr)); in createTestingOnlyVkImage()
2323 VK_CALL(QueueSubmit(this->queue(), 0, nullptr, fence)); in insertFence()
2332 VkResult result = VK_CALL(WaitForFences(this->device(), 1, (VkFence*)&fence, VK_TRUE, timeout)); in waitFence()
2337 VK_CALL(DestroyFence(this->device(), (VkFence)fence, nullptr)); in deleteFence()