9 #include "flutter/fml/macros.h"
18 public std::enable_shared_from_this<BlitPassGLES> {
26 std::vector<std::unique_ptr<BlitEncodeGLES>> commands_;
29 bool is_valid_ =
false;
34 bool IsValid()
const override;
37 void OnSetLabel(std::string label)
override;
41 const std::shared_ptr<Allocator>& transients_allocator)
const override;
44 bool OnCopyTextureToTextureCommand(std::shared_ptr<Texture> source,
45 std::shared_ptr<Texture> destination,
48 std::string label)
override;
51 bool OnCopyTextureToBufferCommand(std::shared_ptr<Texture> source,
52 std::shared_ptr<DeviceBuffer> destination,
54 size_t destination_offset,
55 std::string label)
override;
58 bool OnCopyBufferToTextureCommand(
BufferView source,
59 std::shared_ptr<Texture> destination,
61 std::string label)
override {
66 bool OnGenerateMipmapCommand(std::shared_ptr<Texture> texture,
67 std::string label)
override;