Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
impeller
aiks
picture.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_AIKS_PICTURE_H_
6
#define FLUTTER_IMPELLER_AIKS_PICTURE_H_
7
8
#include <deque>
9
#include <memory>
10
#include <optional>
11
12
#include "flutter/fml/macros.h"
13
#include "
impeller/aiks/aiks_context.h
"
14
#include "
impeller/aiks/image.h
"
15
#include "
impeller/entity/entity.h
"
16
#include "
impeller/entity/entity_pass.h
"
17
18
namespace
impeller
{
19
20
struct
Picture
{
21
std::unique_ptr<EntityPass>
pass
;
22
23
std::optional<Snapshot>
Snapshot
(
AiksContext
& context);
24
25
std::shared_ptr<Image>
ToImage
(
AiksContext
& context,
ISize
size)
const
;
26
27
private
:
28
std::shared_ptr<Texture> RenderToTexture(
29
AiksContext
& context,
30
ISize
size,
31
std::optional<const Matrix> translate = std::nullopt)
const
;
32
};
33
34
}
// namespace impeller
35
36
#endif
// FLUTTER_IMPELLER_AIKS_PICTURE_H_
aiks_context.h
impeller::AiksContext
Definition
aiks_context.h:20
entity.h
entity_pass.h
image.h
impeller
Definition
texture.h:18
impeller::Picture
Definition
picture.h:20
impeller::Picture::ToImage
std::shared_ptr< Image > ToImage(AiksContext &context, ISize size) const
Definition
picture.cc:31
impeller::Picture::pass
std::unique_ptr< EntityPass > pass
Definition
picture.h:21
impeller::Snapshot
Represents a texture and its intended draw transform/sampler configuration.
Definition
snapshot.h:24
impeller::TSize< int64_t >
Generated on Fri Apr 26 2024 06:14:16 for Flutter Engine by
1.9.8