Abstract base class that represents a vkImage and an vkImageView.
~AHBTextureSourceVK() override
AHBTextureSourceVK(const std::shared_ptr< ContextVK > &context, struct AHardwareBuffer *hardware_buffer, const AHardwareBuffer_Desc &hardware_buffer_desc)
vk::ImageView GetImageView() const override
Retrieve the image view used for sampling/blitting/compute with this texture source.
vk::Image GetImage() const override
Get the image handle for this texture source.
A texture source that wraps an instance of AHardwareBuffer.
vk::ImageView GetRenderTargetView() const override
Retrieve the image view used for render target attachments with this texture source.
bool IsSwapchainImage() const override
Determines if swapchain image. That is, an image used as the root render target.
std::shared_ptr< YUVConversionVK > GetYUVConversion() const override
When sampling from textures whose formats are not known to Vulkan, a custom conversion is necessary t...