5#ifndef FLUTTER_IMPELLER_RENDERER_BACKEND_METAL_PIPELINE_LIBRARY_MTL_H_
6#define FLUTTER_IMPELLER_RENDERER_BACKEND_METAL_PIPELINE_LIBRARY_MTL_H_
8#include <Metal/Metal.h>
26 id<MTLDevice> device_ =
nullptr;
33 bool IsValid()
const override;
45 void RemovePipelinesWithEntryPoint(
46 std::shared_ptr<const ShaderFunction>
function)
override;
~PipelineLibraryMTL() override
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