Flutter Impeller
swapchain_impl_vk.cc File Reference

Go to the source code of this file.

Classes

struct  impeller::FrameSynchronizer
 

Namespaces

 impeller
 

Functions

static bool impeller::ContainsFormat (const std::vector< vk::SurfaceFormatKHR > &formats, vk::SurfaceFormatKHR format)
 
static std::optional< vk::SurfaceFormatKHR > impeller::ChooseSurfaceFormat (const std::vector< vk::SurfaceFormatKHR > &formats, PixelFormat preference)
 
static std::optional< vk::CompositeAlphaFlagBitsKHR > impeller::ChooseAlphaCompositionMode (vk::CompositeAlphaFlagsKHR flags)
 
static std::optional< vk::Queue > impeller::ChoosePresentQueue (const vk::PhysicalDevice &physical_device, const vk::Device &device, const vk::SurfaceKHR &surface)
 

Variables

static constexpr size_t impeller::kMaxFramesInFlight = 3u
 
static constexpr size_t impeller::kPollFramesForOrientation = 1u