Flutter Engine
The Flutter Engine
|
An instance of a swapchain that does NOT adapt to going out of date with the underlying surface. Errors will be indicated when the next drawable is acquired from this implementation of the swapchain. If the error is due the swapchain going out of date, the caller must recreate another instance by optionally stealing this implementations guts. More...
#include <khr_swapchain_impl_vk.h>
Classes | |
struct | AcquireResult |
Public Member Functions | |
~KHRSwapchainImplVK () | |
bool | IsValid () const |
AcquireResult | AcquireNextDrawable () |
vk::Format | GetSurfaceFormat () const |
std::shared_ptr< Context > | GetContext () const |
std::pair< vk::UniqueSurfaceKHR, vk::UniqueSwapchainKHR > | DestroySwapchain () |
const ISize & | GetSize () const |
Static Public Member Functions | |
static std::shared_ptr< KHRSwapchainImplVK > | Create (const std::shared_ptr< Context > &context, vk::UniqueSurfaceKHR surface, const ISize &size, bool enable_msaa=true, vk::SwapchainKHR old_swapchain=VK_NULL_HANDLE) |
An instance of a swapchain that does NOT adapt to going out of date with the underlying surface. Errors will be indicated when the next drawable is acquired from this implementation of the swapchain. If the error is due the swapchain going out of date, the caller must recreate another instance by optionally stealing this implementations guts.
Definition at line 31 of file khr_swapchain_impl_vk.h.
impeller::KHRSwapchainImplVK::~KHRSwapchainImplVK | ( | ) |
Definition at line 277 of file khr_swapchain_impl_vk.cc.
KHRSwapchainImplVK::AcquireResult impeller::KHRSwapchainImplVK::AcquireNextDrawable | ( | ) |
Wait on the host for the synchronizer fence.
Get the next image index.
Record all subsequent cmd buffers as part of the current frame.
Definition at line 314 of file khr_swapchain_impl_vk.cc.
|
static |
Definition at line 118 of file khr_swapchain_impl_vk.cc.
std::pair< vk::UniqueSurfaceKHR, vk::UniqueSwapchainKHR > impeller::KHRSwapchainImplVK::DestroySwapchain | ( | ) |
Definition at line 297 of file khr_swapchain_impl_vk.cc.
std::shared_ptr< Context > impeller::KHRSwapchainImplVK::GetContext | ( | ) | const |
Definition at line 310 of file khr_swapchain_impl_vk.cc.
const ISize & impeller::KHRSwapchainImplVK::GetSize | ( | ) | const |
Definition at line 281 of file khr_swapchain_impl_vk.cc.
vk::Format impeller::KHRSwapchainImplVK::GetSurfaceFormat | ( | ) | const |
Definition at line 306 of file khr_swapchain_impl_vk.cc.
bool impeller::KHRSwapchainImplVK::IsValid | ( | ) | const |
Definition at line 285 of file khr_swapchain_impl_vk.cc.