Home | History | Annotate | Download | only in demos

Lines Matching refs:swapchain

374     VkSwapchainKHR swapchain;
689 // Get the index of the next available swapchain image:
690 err = demo->fpAcquireNextImageKHR(demo->device, demo->swapchain, UINT64_MAX,
695 // demo->swapchain is out of date (e.g. the window was resized) and
702 // demo->swapchain is not as optimal as it could be, but the platform's
743 .pSwapchains = &demo->swapchain,
750 // demo->swapchain is out of date (e.g. the window was resized) and
754 // demo->swapchain is not as optimal as it could be, but the platform's
768 VkSwapchainKHR oldSwapchain = demo->swapchain;
836 const VkSwapchainCreateInfoKHR swapchain = {
860 err = demo->fpCreateSwapchainKHR(demo->device, &swapchain, NULL,
861 &demo->swapchain);
864 // If we just re-created an existing swapchain, we should destroy the old
865 // swapchain at this point.
866 // Note: destroying the swapchain also cleans up all its associated
872 err = demo->fpGetSwapchainImagesKHR(demo->device, demo->swapchain,
879 err = demo->fpGetSwapchainImagesKHR(demo->device, demo->swapchain,
1811 demo->fpDestroySwapchainKHR(demo->device, demo->swapchain, NULL);
1851 // In order to properly resize the window, we must re-create the swapchain
1892 // swapchain:
2589 "Swapchain Initialization Failure");
2599 "Swapchain Initialization Failure");