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> {
24 explicit SamplerLibraryVK(
const std::weak_ptr<DeviceHolderVK>& device_holder);
31 std::weak_ptr<DeviceHolderVK> device_holder_;
32 std::vector<std::pair<uint64_t, std::shared_ptr<const Sampler>>> samplers_;
33 bool mips_disabled_workaround_ =
false;
~SamplerLibraryVK() override
SamplerLibraryVK(const std::weak_ptr< DeviceHolderVK > &device_holder)
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.