Flutter Engine
 
Loading...
Searching...
No Matches
flutter::WrappedTextureSourceVK Class Reference
Inheritance diagram for flutter::WrappedTextureSourceVK:
impeller::TextureSourceVK

Public Member Functions

 WrappedTextureSourceVK (impeller::vk::Image image, impeller::vk::ImageView image_view, impeller::TextureDescriptor desc)
 
 ~WrappedTextureSourceVK ()
 
- Public Member Functions inherited from impeller::TextureSourceVK
virtual ~TextureSourceVK ()
 
const TextureDescriptorGetTextureDescriptor () const
 Gets the texture descriptor for this image source.
 
fml::Status SetLayout (const BarrierVK &barrier) const
 Encodes the layout transition barrier to barrier.cmd_buffer for the image.
 
vk::ImageLayout SetLayoutWithoutEncoding (vk::ImageLayout layout) const
 Store the layout of the image.
 
vk::ImageLayout GetLayout () const
 Get the last layout assigned to the TextureSourceVK.
 
virtual std::shared_ptr< YUVConversionVKGetYUVConversion () const
 When sampling from textures whose formats are not known to Vulkan, a custom conversion is necessary to setup custom samplers. This accessor provides this conversion if one is present. Most texture source have none.
 
void SetCachedFrameData (const FramebufferAndRenderPass &data, SampleCount sample_count)
 
const FramebufferAndRenderPassGetCachedFrameData (SampleCount sample_count) const
 

Additional Inherited Members

- Protected Member Functions inherited from impeller::TextureSourceVK
 TextureSourceVK (TextureDescriptor desc)
 
- Protected Attributes inherited from impeller::TextureSourceVK
const TextureDescriptor desc_
 

Detailed Description

Definition at line 25 of file gpu_surface_vulkan_impeller.cc.

Constructor & Destructor Documentation

◆ WrappedTextureSourceVK()

flutter::WrappedTextureSourceVK::WrappedTextureSourceVK ( impeller::vk::Image  image,
impeller::vk::ImageView  image_view,
impeller::TextureDescriptor  desc 
)
inlineexplicit

Definition at line 27 of file gpu_surface_vulkan_impeller.cc.

30 : TextureSourceVK(desc), image_(image), image_view_(image_view) {}
TextureSourceVK(TextureDescriptor desc)
FlutterVulkanImage * image

◆ ~WrappedTextureSourceVK()

flutter::WrappedTextureSourceVK::~WrappedTextureSourceVK ( )
inline

Definition at line 32 of file gpu_surface_vulkan_impeller.cc.

32{}

The documentation for this class was generated from the following file: