Lines Matching refs:Swapchain
123 struct Swapchain { struct
124 Swapchain(Surface& surface_, uint32_t num_images_) in Swapchain() argument
143 VkSwapchainKHR HandleFromSwapchain(Swapchain* swapchain) { in HandleFromSwapchain()
147 Swapchain* SwapchainFromHandle(VkSwapchainKHR handle) { in SwapchainFromHandle()
148 return reinterpret_cast<Swapchain*>(handle); in SwapchainFromHandle()
154 Swapchain::Image& image) { in ReleaseSwapchainImage()
200 void OrphanSwapchain(VkDevice device, Swapchain* swapchain) { in OrphanSwapchain()
619 sizeof(Swapchain), alignof(Swapchain), in CreateSwapchainKHR()
623 Swapchain* swapchain = new (mem) Swapchain(surface, num_images); in CreateSwapchainKHR()
653 Swapchain::Image& img = swapchain->images[i]; in CreateSwapchainKHR()
692 Swapchain::Image& img = swapchain->images[i]; in CreateSwapchainKHR()
706 swapchain->~Swapchain(); in CreateSwapchainKHR()
721 Swapchain* swapchain = SwapchainFromHandle(swapchain_handle); in DestroySwapchainKHR()
731 swapchain->~Swapchain(); in DestroySwapchainKHR()
740 Swapchain& swapchain = *SwapchainFromHandle(swapchain_handle); in GetSwapchainImagesKHR()
766 Swapchain& swapchain = *SwapchainFromHandle(swapchain_handle); in AcquireNextImageKHR()
864 Swapchain& swapchain = in QueuePresentKHR()
867 Swapchain::Image& img = swapchain.images[image_idx]; in QueuePresentKHR()