7 #include "flutter/fml/macros.h"
14 class CommandEncoderVK;
15 class CommandBufferVK;
25 std::weak_ptr<CommandBufferVK> command_buffer_;
26 std::vector<std::unique_ptr<BlitEncodeVK>> commands_;
29 BlitPassVK(std::weak_ptr<CommandBufferVK> command_buffer);
32 bool IsValid()
const override;
35 void OnSetLabel(std::string label)
override;
39 const std::shared_ptr<Allocator>& transients_allocator)
const override;
42 bool OnCopyTextureToTextureCommand(std::shared_ptr<Texture> source,
43 std::shared_ptr<Texture> destination,
46 std::string label)
override;
49 bool OnCopyTextureToBufferCommand(std::shared_ptr<Texture> source,
50 std::shared_ptr<DeviceBuffer> destination,
52 size_t destination_offset,
53 std::string label)
override;
56 bool OnCopyBufferToTextureCommand(
BufferView source,
57 std::shared_ptr<Texture> destination,
59 std::string label)
override;
61 bool OnGenerateMipmapCommand(std::shared_ptr<Texture> texture,
62 std::string label)
override;