5 #ifndef FLUTTER_IMPELLER_RENDERER_TEXTURE_UTIL_H_
6 #define FLUTTER_IMPELLER_RENDERER_TEXTURE_UTIL_H_
8 #include "flutter/fml/status.h"
16 const TextureDescriptor& texture_descriptor,
17 const std::vector<uint8_t>& data,
18 const std::shared_ptr<impeller::Context>& context,
19 std::string_view debug_label);
23 const std::shared_ptr<CommandBuffer>& command_buffer,
24 const std::shared_ptr<Context>& context,
25 const std::shared_ptr<Texture>& texture);
fml::Status AddMipmapGeneration(const std::shared_ptr< CommandBuffer > &command_buffer, const std::shared_ptr< Context > &context, const std::shared_ptr< Texture > &texture)
Adds a blit command to the render pass.
std::shared_ptr< Texture > CreateTexture(const TextureDescriptor &texture_descriptor, const std::vector< uint8_t > &data, const std::shared_ptr< impeller::Context > &context, std::string_view debug_label)