5#ifndef FLUTTER_IMPELLER_RENDERER_PIPELINE_LIBRARY_H_
6#define FLUTTER_IMPELLER_RENDERER_PIPELINE_LIBRARY_H_
34 std::optional<PipelineDescriptor> descriptor,
38 std::optional<ComputePipelineDescriptor> descriptor,
45 bool async =
true) = 0;
49 bool async =
true) = 0;
52 std::shared_ptr<const ShaderFunction>
function) = 0;
virtual PipelineFuture< ComputePipelineDescriptor > GetPipeline(ComputePipelineDescriptor descriptor, bool async=true)=0
virtual void RemovePipelinesWithEntryPoint(std::shared_ptr< const ShaderFunction > function)=0
virtual bool IsValid() const =0
virtual PipelineFuture< PipelineDescriptor > GetPipeline(PipelineDescriptor descriptor, bool async=true)=0
virtual ~PipelineLibrary()
PipelineFuture< PipelineDescriptor > GetPipeline(std::optional< PipelineDescriptor > descriptor, bool async=true)
Dart_NativeFunction function
std::unordered_map< ComputePipelineDescriptor, PipelineFuture< ComputePipelineDescriptor >, ComparableHash< ComputePipelineDescriptor >, ComparableEqual< ComputePipelineDescriptor > > ComputePipelineMap
std::unordered_map< PipelineDescriptor, PipelineFuture< PipelineDescriptor >, ComparableHash< PipelineDescriptor >, ComparableEqual< PipelineDescriptor > > PipelineMap