5#ifndef FLUTTER_IMPELLER_RENDERER_BACKEND_VULKAN_SWAPCHAIN_AHB_EXTERNAL_FENCE_VK_H_
6#define FLUTTER_IMPELLER_RENDERER_BACKEND_VULKAN_SWAPCHAIN_AHB_EXTERNAL_FENCE_VK_H_
8#include "flutter/fml/unique_fd.h"
A Vulkan fence that can be exported as a platform specific file descriptor.
fml::UniqueFD CreateFD() const
Create a new sync file descriptor for the underlying fence. The fence must already be signaled or hav...
ExternalFenceVK(const std::shared_ptr< Context > &context)
Create a new un-signaled fence that can be exported as a sync file descriptor.
ExternalFenceVK(const ExternalFenceVK &)=delete
const vk::Fence & GetHandle() const
const SharedHandleVK< vk::Fence > & GetSharedHandle() const
bool IsValid() const
If a valid fence could be created.
ExternalFenceVK & operator=(const ExternalFenceVK &)=delete
std::shared_ptr< SharedObjectVKT< T > > SharedHandleVK