Flutter Engine
The Flutter Engine
impeller
renderer
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_
fml::Status
Definition:
status.h:35
texture.h
command_buffer.h
context.h
texture
FlTexture * texture
Definition:
mock_texture_registrar.cc:24
impeller
Definition:
texture.h:18
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
Generated on Sun Jun 23 2024 21:55:04 for Flutter Engine by
1.9.4