5#ifndef FLUTTER_IMPELLER_RENDERER_BACKEND_VULKAN_SWAPCHAIN_AHB_AHB_SWAPCHAIN_VK_H_
6#define FLUTTER_IMPELLER_RENDERER_BACKEND_VULKAN_SWAPCHAIN_AHB_AHB_SWAPCHAIN_VK_H_
16namespace android::testing {
18 AHBSwapchainNoFenceWaitAfterAcquireNextImageFailure);
59 std::shared_ptr<CommandBuffer> cmd_buffer)
const override;
64 AHBSwapchainNoFenceWaitAfterAcquireNextImageFailure);
66 std::weak_ptr<Context> context_;
67 std::shared_ptr<android::SurfaceControl> surface_control_;
68 const bool enable_msaa_;
70 std::shared_ptr<AHBSwapchainImplVK> impl_;
73 const std::shared_ptr<Context>& context,
74 const std::shared_ptr<android::SurfaceControl>& surface_control,
The implementation of a swapchain that uses hardware buffers presented to a given surface control on ...
static bool IsAvailableOnPlatform()
void UpdateSurfaceSize(const ISize &size) override
Mark the current swapchain configuration as dirty, forcing it to be recreated on the next frame.
AHBSwapchainVK & operator=(const AHBSwapchainVK &)=delete
bool IsValid() const override
void AddFinalCommandBuffer(std::shared_ptr< CommandBuffer > cmd_buffer) const override
vk::Format GetSurfaceFormat() const override
~AHBSwapchainVK() override
std::unique_ptr< Surface > AcquireNextDrawable() override
AHBSwapchainVK(const AHBSwapchainVK &)=delete
A swapchain that adapts to the underlying surface going out of date. If the caller cannot acquire the...
A wrapper for ASurfaceTransaction. https://developer.android.com/ndk/reference/group/native-activity#...
#define FML_FRIEND_TEST(test_case_name, test_name)
#define FML_TEST_CLASS(test_case_name, test_name)
std::function< android::SurfaceTransaction()> CreateTransactionCB