5#ifndef FLUTTER_IMPELLER_RENDERER_BACKEND_VULKAN_SAMPLER_VK_H_
6#define FLUTTER_IMPELLER_RENDERER_BACKEND_VULKAN_SAMPLER_VK_H_
15class SamplerLibraryVK;
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 is_valid_ =
false;
vk::Sampler GetSampler() const
SamplerVK(const vk::Device &device, SamplerDescriptor desc, 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::function< ProfileSample(void)> Sampler
Sampler is run during SamplingProfiler::SampleRepeatedly. Each platform should implement its version ...
std::shared_ptr< SharedObjectVKT< T > > SharedHandleVK