Flutter Engine
The Flutter Engine
Namespaces | Functions | Variables
capabilities_vk.cc File Reference
#include "impeller/renderer/backend/vulkan/capabilities_vk.h"
#include <algorithm>
#include "impeller/base/validation.h"
#include "impeller/core/formats.h"
#include "impeller/renderer/backend/vulkan/vk.h"

Go to the source code of this file.

Namespaces

namespace  impeller
 

Functions

static const char * impeller::GetExtensionName (RequiredCommonDeviceExtensionVK ext)
 
static const char * impeller::GetExtensionName (RequiredAndroidDeviceExtensionVK ext)
 
static const char * impeller::GetExtensionName (OptionalDeviceExtensionVK ext)
 
template<class T >
static bool impeller::IterateExtensions (const std::function< bool(T)> &it)
 
static std::optional< std::set< std::string > > impeller::GetSupportedDeviceExtensions (const vk::PhysicalDevice &physical_device)
 
static bool impeller::HasSuitableColorFormat (const vk::PhysicalDevice &device, vk::Format format)
 
static bool impeller::HasSuitableDepthStencilFormat (const vk::PhysicalDevice &device, vk::Format format)
 
static bool impeller::PhysicalDeviceSupportsRequiredFormats (const vk::PhysicalDevice &device)
 
static bool impeller::HasRequiredProperties (const vk::PhysicalDevice &physical_device)
 
static bool impeller::HasRequiredQueues (const vk::PhysicalDevice &physical_device)
 
template<class ExtensionEnum >
static bool impeller::IsExtensionInList (const std::vector< std::string > &list, ExtensionEnum ext)
 

Variables

static constexpr const char * impeller::kInstanceLayer = "ImpellerInstance"