class ImagePipeSurfaceAsync

Defined at line 23 of file ../../src/lib/vulkan/swapchain/image_pipe_surface_async.h

An implementation of ImagePipeSurface based on an async fidl Flatland.

Public Methods

void ImagePipeSurfaceAsync (zx_handle_t view_creation_token_handle)

Defined at line 25 of file ../../src/lib/vulkan/swapchain/image_pipe_surface_async.h

bool SupportsImmediatePresentMode ()

Defined at line 39 of file ../../src/lib/vulkan/swapchain/image_pipe_surface_async.h

void ~ImagePipeSurfaceAsync ()

Defined at line 62 of file ../../src/lib/vulkan/swapchain/image_pipe_surface_async.cc

bool Init ()

Defined at line 77 of file ../../src/lib/vulkan/swapchain/image_pipe_surface_async.cc

bool IsLost ()

Defined at line 490 of file ../../src/lib/vulkan/swapchain/image_pipe_surface_async.cc

bool CreateImage (VkDevice device, VkLayerDispatchTable * pDisp, VkFormat format, VkImageUsageFlags usage, VkSwapchainCreateFlagsKHR swapchain_flags, VkExtent2D extent, uint32_t image_count, VkCompositeAlphaFlagBitsKHR alpha_flags, const VkAllocationCallbacks * pAllocator, std::vector<ImageInfo> * image_info_out)

Defined at line 167 of file ../../src/lib/vulkan/swapchain/image_pipe_surface_async.cc

void RemoveImage (uint32_t image_id)

Defined at line 495 of file ../../src/lib/vulkan/swapchain/image_pipe_surface_async.cc

void PresentImage (bool immediate, uint32_t image_id, std::vector<std::unique_ptr<PlatformEvent>> acquire_fences, std::vector<std::unique_ptr<PlatformEvent>> release_fences, VkQueue queue)

Defined at line 518 of file ../../src/lib/vulkan/swapchain/image_pipe_surface_async.cc

SupportedImageProperties & GetSupportedImageProperties ()

Defined at line 551 of file ../../src/lib/vulkan/swapchain/image_pipe_surface_async.cc