5 #ifndef FLUTTER_IMPELLER_RENDERER_BACKEND_VULKAN_SAMPLER_LIBRARY_VK_H_
6 #define FLUTTER_IMPELLER_RENDERER_BACKEND_VULKAN_SAMPLER_LIBRARY_VK_H_
19 public BackendCast<SamplerLibraryVK, SamplerLibrary> {
25 uint32_t max_sampler_anisotropy);
32 std::weak_ptr<DeviceHolderVK> device_holder_;
33 std::vector<std::pair<uint64_t, std::shared_ptr<const Sampler>>> samplers_;
34 uint32_t max_sampler_anisotropy_ = 1;
35 bool mips_disabled_workaround_ =
false;
~SamplerLibraryVK() override
SamplerLibraryVK(const std::weak_ptr< DeviceHolderVK > &device_holder, uint32_t max_sampler_anisotropy)
void ApplyWorkarounds(const WorkaroundsVK &workarounds)
A wrapper around a raw ptr that adds additional unopt mode only checks.
A non-exhaustive set of driver specific workarounds.