 |
Flutter Impeller
|
|
Go to the documentation of this file.
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
29 #endif // FML_OS_ANDROID
79 vk::UniqueSamplerYcbcrConversion conversion_;
101 std::size_t
GetHash()
const override;
109 #endif // FLUTTER_IMPELLER_RENDERER_BACKEND_VULKAN_YUV_CONVERSION_VK_H_
ImmutableSamplerKeyVK(const SamplerVK &sampler)
vk::SamplerYcbcrConversion GetConversion() const
YUVConversionVK(const YUVConversionVK &)=delete
bool IsEqual(const ImmutableSamplerKeyVK &other) const override
const YUVConversionDescriptorVK & GetDescriptor() const
Get the descriptor used to create this conversion.
YUVConversionVK & operator=(const YUVConversionVK &)=delete
It is sometimes necessary to deal with formats not native to Vulkan. In such cases,...
std::size_t GetHash() const override
Due the way the Vulkan spec. treats "identically defined" conversions, creating two conversion with i...
YUVConversionDescriptorVK yuv_conversion
std::size_t operator()(const YUVConversionDescriptorVK &object) const
bool operator()(const YUVConversionDescriptorVK &lhs, const YUVConversionDescriptorVK &rhs) const
SamplerDescriptor sampler
vk::StructureChain< vk::SamplerYcbcrConversionCreateInfo > YUVConversionDescriptorVK