5 #ifndef FLUTTER_IMPELLER_RENDERER_BACKEND_VULKAN_SAMPLER_VK_H_
6 #define FLUTTER_IMPELLER_RENDERER_BACKEND_VULKAN_SAMPLER_VK_H_
15 class SamplerLibraryVK;
16 class YUVConversionVK;
22 std::shared_ptr<YUVConversionVK> yuv_conversion = {});
30 std::shared_ptr<YUVConversionVK> conversion)
const;
37 const vk::Device device_;
39 std::shared_ptr<YUVConversionVK> yuv_conversion_;
40 bool mips_disabled_workaround_ =
false;
41 bool is_valid_ =
false;
vk::Sampler GetSampler() const
SamplerVK(const vk::Device &device, const SamplerDescriptor &, std::shared_ptr< YUVConversionVK > yuv_conversion={})
std::shared_ptr< SamplerVK > CreateVariantForConversion(std::shared_ptr< YUVConversionVK > conversion) const
const std::shared_ptr< YUVConversionVK > & GetYUVConversion() const
std::shared_ptr< SharedObjectVKT< T > > SharedHandleVK