Flutter Engine
The Flutter Engine
impeller
renderer
blit_command.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_BLIT_COMMAND_H_
6
#define FLUTTER_IMPELLER_RENDERER_BLIT_COMMAND_H_
7
8
#include "
impeller/core/device_buffer.h
"
9
#include "
impeller/core/texture.h
"
10
#include "
impeller/geometry/rect.h
"
11
12
namespace
impeller
{
13
14
struct
BlitCommand
{
15
std::string
label
;
16
};
17
18
struct
BlitCopyTextureToTextureCommand
:
public
BlitCommand
{
19
std::shared_ptr<Texture>
source
;
20
std::shared_ptr<Texture>
destination
;
21
IRect
source_region
;
22
IPoint
destination_origin
;
23
};
24
25
struct
BlitCopyTextureToBufferCommand
:
public
BlitCommand
{
26
std::shared_ptr<Texture>
source
;
27
std::shared_ptr<DeviceBuffer>
destination
;
28
IRect
source_region
;
29
size_t
destination_offset
;
30
};
31
32
struct
BlitCopyBufferToTextureCommand
:
public
BlitCommand
{
33
BufferView
source
;
34
std::shared_ptr<Texture>
destination
;
35
IRect
destination_region
;
36
uint32_t
slice
= 0;
37
};
38
39
struct
BlitGenerateMipmapCommand
:
public
BlitCommand
{
40
std::shared_ptr<Texture>
texture
;
41
};
42
43
}
// namespace impeller
44
45
#endif
// FLUTTER_IMPELLER_RENDERER_BLIT_COMMAND_H_
device_buffer.h
texture.h
rect.h
impeller
Definition:
texture.h:18
impeller::BlitCommand
Definition:
blit_command.h:14
impeller::BlitCommand::label
std::string label
Definition:
blit_command.h:15
impeller::BlitCopyBufferToTextureCommand
Definition:
blit_command.h:32
impeller::BlitCopyBufferToTextureCommand::slice
uint32_t slice
Definition:
blit_command.h:36
impeller::BlitCopyBufferToTextureCommand::destination
std::shared_ptr< Texture > destination
Definition:
blit_command.h:34
impeller::BlitCopyBufferToTextureCommand::source
BufferView source
Definition:
blit_command.h:33
impeller::BlitCopyBufferToTextureCommand::destination_region
IRect destination_region
Definition:
blit_command.h:35
impeller::BlitCopyTextureToBufferCommand
Definition:
blit_command.h:25
impeller::BlitCopyTextureToBufferCommand::destination
std::shared_ptr< DeviceBuffer > destination
Definition:
blit_command.h:27
impeller::BlitCopyTextureToBufferCommand::source
std::shared_ptr< Texture > source
Definition:
blit_command.h:26
impeller::BlitCopyTextureToBufferCommand::source_region
IRect source_region
Definition:
blit_command.h:28
impeller::BlitCopyTextureToBufferCommand::destination_offset
size_t destination_offset
Definition:
blit_command.h:29
impeller::BlitCopyTextureToTextureCommand
Definition:
blit_command.h:18
impeller::BlitCopyTextureToTextureCommand::destination_origin
IPoint destination_origin
Definition:
blit_command.h:22
impeller::BlitCopyTextureToTextureCommand::destination
std::shared_ptr< Texture > destination
Definition:
blit_command.h:20
impeller::BlitCopyTextureToTextureCommand::source_region
IRect source_region
Definition:
blit_command.h:21
impeller::BlitCopyTextureToTextureCommand::source
std::shared_ptr< Texture > source
Definition:
blit_command.h:19
impeller::BlitGenerateMipmapCommand
Definition:
blit_command.h:39
impeller::BlitGenerateMipmapCommand::texture
std::shared_ptr< Texture > texture
Definition:
blit_command.h:40
impeller::BufferView
Definition:
buffer_view.h:15
impeller::TPoint< int64_t >
impeller::TRect
Definition:
rect.h:122
Generated on Sun Jun 23 2024 21:55:04 for Flutter Engine by
1.9.4