The implementation of a swapchain that uses hardware buffers presented to a given surface control on Android. More...
#include <ahb_swapchain_vk.h>
Public Member Functions | |
~AHBSwapchainVK () override | |
AHBSwapchainVK (const AHBSwapchainVK &)=delete | |
AHBSwapchainVK & | operator= (const AHBSwapchainVK &)=delete |
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... | |
void | AddFinalCommandBuffer (std::shared_ptr< CommandBuffer > cmd_buffer) const override |
![]() | |
virtual | ~SwapchainVK () |
SwapchainVK (const SwapchainVK &)=delete | |
SwapchainVK & | operator= (const SwapchainVK &)=delete |
Static Public Member Functions | |
static bool | IsAvailableOnPlatform () |
![]() | |
static std::shared_ptr< SwapchainVK > | Create (const std::shared_ptr< Context > &context, vk::UniqueSurfaceKHR surface, const ISize &size, bool enable_msaa=true) |
Friends | |
class | SwapchainVK |
Additional Inherited Members | |
![]() | |
SwapchainVK () | |
The implementation of a swapchain that uses hardware buffers presented to a given surface control on Android.
IsAvailableOnPlatform
check and fallback to KHR swapchains if this type of swapchain cannot be created. The available building blocks for these kinds of swapchains are only available on Android API levels >= 29. Definition at line 29 of file ahb_swapchain_vk.h.
|
overridedefault |
|
delete |
|
overridevirtual |
Implements impeller::SwapchainVK.
Definition at line 41 of file ahb_swapchain_vk.cc.
References IsValid().
|
overridevirtual |
Implements impeller::SwapchainVK.
Definition at line 58 of file ahb_swapchain_vk.cc.
|
overridevirtual |
Implements impeller::SwapchainVK.
Definition at line 51 of file ahb_swapchain_vk.cc.
References IsValid(), impeller::ToPixelFormat(), and impeller::ToVKImageFormat().
|
static |
Definition at line 15 of file ahb_swapchain_vk.cc.
References impeller::android::HardwareBuffer::IsAvailableOnPlatform(), and impeller::android::SurfaceControl::IsAvailableOnPlatform().
|
overridevirtual |
Implements impeller::SwapchainVK.
Definition at line 36 of file ahb_swapchain_vk.cc.
Referenced by AcquireNextDrawable(), and GetSurfaceFormat().
|
delete |
|
overridevirtual |
Mark the current swapchain configuration as dirty, forcing it to be recreated on the next frame.
Implements impeller::SwapchainVK.
Definition at line 64 of file ahb_swapchain_vk.cc.
References impeller::AHBSwapchainImplVK::Create(), and VALIDATION_LOG.
|
friend |
Definition at line 57 of file ahb_swapchain_vk.h.