Flutter Engine
The Flutter Engine
Classes | Namespaces | Functions | Variables
khr_swapchain_impl_vk.cc File Reference
#include "impeller/renderer/backend/vulkan/swapchain/khr/khr_swapchain_impl_vk.h"
#include "fml/synchronization/semaphore.h"
#include "impeller/base/validation.h"
#include "impeller/core/formats.h"
#include "impeller/renderer/backend/vulkan/command_buffer_vk.h"
#include "impeller/renderer/backend/vulkan/command_encoder_vk.h"
#include "impeller/renderer/backend/vulkan/context_vk.h"
#include "impeller/renderer/backend/vulkan/formats_vk.h"
#include "impeller/renderer/backend/vulkan/gpu_tracer_vk.h"
#include "impeller/renderer/backend/vulkan/swapchain/khr/khr_swapchain_image_vk.h"
#include "impeller/renderer/backend/vulkan/swapchain/surface_vk.h"
#include "impeller/renderer/context.h"

Go to the source code of this file.

Classes

struct  impeller::KHRFrameSynchronizerVK
 

Namespaces

namespace  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)
 

Variables

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