Flutter Impeller
ahb_texture_source_vk.cc File Reference

Go to the source code of this file.

Namespaces

 impeller
 

Typedefs

using impeller::AHBProperties = vk::StructureChain< vk::AndroidHardwareBufferPropertiesANDROID, vk::AndroidHardwareBufferFormatPropertiesANDROID >
 

Functions

static vk::UniqueImage impeller::CreateVKImageWrapperForAndroidHarwareBuffer (const vk::Device &device, const AHBProperties &ahb_props, const AHardwareBuffer_Desc &ahb_desc)
 
static vk::UniqueDeviceMemory impeller::ImportVKDeviceMemoryFromAndroidHarwareBuffer (const vk::Device &device, const vk::PhysicalDevice &physical_device, const vk::Image &image, struct AHardwareBuffer *hardware_buffer, const AHBProperties &ahb_props)
 
static std::shared_ptr< YUVConversionVK > impeller::CreateYUVConversion (const ContextVK &context, const AHBProperties &ahb_props)
 
static vk::UniqueImageView impeller::CreateVKImageView (const vk::Device &device, const vk::Image &image, const vk::SamplerYcbcrConversion &yuv_conversion, const AHBProperties &ahb_props, const AHardwareBuffer_Desc &ahb_desc)
 
static PixelFormat impeller::ToPixelFormat (AHardwareBuffer_Format format)
 
static TextureType impeller::ToTextureType (const AHardwareBuffer_Desc &ahb_desc)
 
static TextureDescriptor impeller::ToTextureDescriptor (const AHardwareBuffer_Desc &ahb_desc)