blob: f2f7d8cbb46d57349be1465a10ccc3dc1a4273cc [file] [log] [blame]
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FLUTTER_IMPELLER_TEXTURE_MIPMAP_H_
#define FLUTTER_IMPELLER_TEXTURE_MIPMAP_H_
#include "flutter/fml/status.h"
#include "impeller/core/texture.h"
#include "impeller/renderer/context.h"
namespace impeller {
/// Adds a blit command to the render pass.
[[nodiscard]] fml::Status AddMipmapGeneration(
const std::shared_ptr<Context>& context,
const std::shared_ptr<Texture>& texture);
} // namespace impeller
#endif // FLUTTER_IMPELLER_TEXTURE_MIPMAP_H_