A swapchain implemented backed by VK_KHR_swapchain and VK_KHR_surface. More...
#include <khr_swapchain_vk.h>
Public Member Functions | |
| ~KHRSwapchainVK () | |
| bool | IsValid () const override |
| std::unique_ptr< Surface > | AcquireNextDrawable () override |
| vk::Format | GetSurfaceFormat () const override |
| void | UpdateSurfaceSize (const ISize &size) override |
| Mark the current swapchain configuration as dirty, forcing it to be recreated on the next frame. More... | |
Public Member Functions inherited from impeller::SwapchainVK | |
| virtual | ~SwapchainVK () |
| SwapchainVK (const SwapchainVK &)=delete | |
| SwapchainVK & | operator= (const SwapchainVK &)=delete |
Friends | |
| class | SwapchainVK |
Additional Inherited Members | |
Static Public Member Functions inherited from impeller::SwapchainVK | |
| static std::shared_ptr< SwapchainVK > | Create (const std::shared_ptr< Context > &context, vk::UniqueSurfaceKHR surface, const ISize &size, bool enable_msaa=true) |
Protected Member Functions inherited from impeller::SwapchainVK | |
| SwapchainVK () | |
A swapchain implemented backed by VK_KHR_swapchain and VK_KHR_surface.
Definition at line 24 of file khr_swapchain_vk.h.
|
default |
|
overridevirtual |
We managed to recreate the swapchain in the new configuration. Try again.
Implements impeller::SwapchainVK.
Definition at line 42 of file khr_swapchain_vk.cc.
References impeller::KHRSwapchainImplVK::AcquireNextDrawable(), impeller::KHRSwapchainImplVK::Create(), impeller::KHRSwapchainImplVK::IsValid(), and VALIDATION_LOG.
|
overridevirtual |
Implements impeller::SwapchainVK.
Definition at line 82 of file khr_swapchain_vk.cc.
References impeller::KHRSwapchainImplVK::IsValid().
|
overridevirtual |
Implements impeller::SwapchainVK.
Definition at line 32 of file khr_swapchain_vk.cc.
|
overridevirtual |
Mark the current swapchain configuration as dirty, forcing it to be recreated on the next frame.
Implements impeller::SwapchainVK.
Definition at line 36 of file khr_swapchain_vk.cc.
|
friend |
Definition at line 41 of file khr_swapchain_vk.h.