5#ifndef FLUTTER_IMPELLER_RENDERER_BACKEND_METAL_COMMAND_BUFFER_MTL_H_
6#define FLUTTER_IMPELLER_RENDERER_BACKEND_METAL_COMMAND_BUFFER_MTL_H_
8#include <Metal/Metal.h>
23 id<MTLCommandBuffer> buffer_ =
nullptr;
26 id<MTLCommandQueue>
queue);
29 void SetLabel(
const std::string& label)
const override;
32 bool IsValid()
const override;
38 void OnWaitUntilScheduled()
override;
44 std::shared_ptr<BlitPass> OnCreateBlitPass()
override;
47 std::shared_ptr<ComputePass> OnCreateComputePass()
override;
~CommandBufferMTL() override
A collection of encoded commands to be submitted to the GPU for execution. A command buffer is obtain...
std::function< void(Status)> CompletionCallback
FlKeyEvent uint64_t FlKeyResponderAsyncCallback callback