5#ifndef FLUTTER_IMPELLER_RENDERER_BACKEND_VULKAN_YUV_CONVERSION_VK_H_
6#define FLUTTER_IMPELLER_RENDERER_BACKEND_VULKAN_YUV_CONVERSION_VK_H_
8#include <unordered_map>
10#include "flutter/fml/build_config.h"
24 vk::StructureChain<vk::SamplerYcbcrConversionCreateInfo
28 vk::ExternalFormatANDROID
79 vk::UniqueSamplerYcbcrConversion conversion_;
101 std::size_t
GetHash()
const override;
Due the way the Vulkan spec. treats "identically defined" conversions, creating two conversion with i...
It is sometimes necessary to deal with formats not native to Vulkan. In such cases,...
YUVConversionVK & operator=(const YUVConversionVK &)=delete
vk::SamplerYcbcrConversion GetConversion() const
const YUVConversionDescriptorVK & GetDescriptor() const
Get the descriptor used to create this conversion.
YUVConversionVK(const YUVConversionVK &)=delete
vk::StructureChain< vk::SamplerYcbcrConversionCreateInfo > YUVConversionDescriptorVK
ImmutableSamplerKeyVK(const SamplerVK &sampler)
bool IsEqual(const ImmutableSamplerKeyVK &other) const override
YUVConversionDescriptorVK yuv_conversion
std::size_t GetHash() const override
SamplerDescriptor sampler
bool operator()(const YUVConversionDescriptorVK &lhs, const YUVConversionDescriptorVK &rhs) const
std::size_t operator()(const YUVConversionDescriptorVK &object) const