| Flutter Impeller |

texture_mipmap.h
Go to the documentation of this file.
1 // Copyright 2013 The Flutter Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef FLUTTER_IMPELLER_RENDERER_TEXTURE_MIPMAP_H_
6 #define FLUTTER_IMPELLER_RENDERER_TEXTURE_MIPMAP_H_
7
8 #include "flutter/fml/status.h"
9 #include "impeller/core/texture.h"
10 #include "impeller/renderer/command_buffer.h"
11 #include "impeller/renderer/context.h"
12
13 namespace impeller {
14
15 /// Adds a blit command to the render pass.
16 [[nodiscard]] fml::Status AddMipmapGeneration(
17 const std::shared_ptr<CommandBuffer>& command_buffer,
18 const std::shared_ptr<Context>& context,
19 const std::shared_ptr<Texture>& texture);
20
21 } // namespace impeller
22
23 #endif // FLUTTER_IMPELLER_RENDERER_TEXTURE_MIPMAP_H_
command_buffer.h
texture.h
impeller
Definition: allocation.cc:12
impeller::AddMipmapGeneration
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.
Definition: texture_mipmap.cc:11
context.h