Flutter Engine
The Flutter Engine
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"
12
13namespace impeller {
14
15/// Adds a blit command to the render pass.
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_
FlTexture * 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.