Flutter Impeller
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 
10 #include "impeller/geometry/rect.h"
11 
12 namespace impeller {
13 
14 struct BlitCommand {
15  std::string label;
16 };
17 
19  std::shared_ptr<Texture> source;
20  std::shared_ptr<Texture> destination;
23 };
24 
26  std::shared_ptr<Texture> source;
27  std::shared_ptr<Texture> destination;
28 };
29 
31  std::shared_ptr<Texture> source;
32  std::shared_ptr<DeviceBuffer> destination;
35 };
36 
39  std::shared_ptr<Texture> destination;
41  uint32_t slice = 0;
42 };
43 
45  std::shared_ptr<Texture> texture;
46 };
47 
48 } // namespace impeller
49 
50 #endif // FLUTTER_IMPELLER_RENDERER_BLIT_COMMAND_H_
impeller::BlitResizeTextureCommand::destination
std::shared_ptr< Texture > destination
Definition: blit_command.h:27
impeller::BlitGenerateMipmapCommand
Definition: blit_command.h:44
device_buffer.h
impeller::BlitCopyTextureToTextureCommand::destination
std::shared_ptr< Texture > destination
Definition: blit_command.h:20
impeller::BlitCopyBufferToTextureCommand::destination_region
IRect destination_region
Definition: blit_command.h:40
impeller::BlitCopyTextureToTextureCommand::destination_origin
IPoint destination_origin
Definition: blit_command.h:22
impeller::BlitCopyBufferToTextureCommand
Definition: blit_command.h:37
impeller::BlitGenerateMipmapCommand::texture
std::shared_ptr< Texture > texture
Definition: blit_command.h:45
impeller::BlitResizeTextureCommand
Definition: blit_command.h:25
impeller::BlitCopyTextureToBufferCommand
Definition: blit_command.h:30
impeller::BlitCommand::label
std::string label
Definition: blit_command.h:15
impeller::BlitCopyBufferToTextureCommand::source
BufferView source
Definition: blit_command.h:38
impeller::BlitCopyBufferToTextureCommand::slice
uint32_t slice
Definition: blit_command.h:41
impeller::BlitCopyTextureToBufferCommand::destination_offset
size_t destination_offset
Definition: blit_command.h:34
impeller::BlitResizeTextureCommand::source
std::shared_ptr< Texture > source
Definition: blit_command.h:26
impeller::BlitCopyTextureToBufferCommand::destination
std::shared_ptr< DeviceBuffer > destination
Definition: blit_command.h:32
impeller::BlitCopyTextureToTextureCommand::source
std::shared_ptr< Texture > source
Definition: blit_command.h:19
impeller::BlitCommand
Definition: blit_command.h:14
impeller::BufferView
Definition: buffer_view.h:15
rect.h
impeller::TPoint< int64_t >
impeller::BlitCopyTextureToBufferCommand::source
std::shared_ptr< Texture > source
Definition: blit_command.h:31
texture.h
impeller::BlitCopyTextureToTextureCommand::source_region
IRect source_region
Definition: blit_command.h:21
impeller
Definition: allocation.cc:12
impeller::BlitCopyTextureToBufferCommand::source_region
IRect source_region
Definition: blit_command.h:33
impeller::TRect
Definition: rect.h:122
impeller::BlitCopyBufferToTextureCommand::destination
std::shared_ptr< Texture > destination
Definition: blit_command.h:39
impeller::BlitCopyTextureToTextureCommand
Definition: blit_command.h:18