#include <command_buffer.h>
Public Member Functions | |
| CommandBuffer (std::shared_ptr< impeller::Context > context, std::shared_ptr< impeller::CommandBuffer > command_buffer) | |
| std::shared_ptr< impeller::CommandBuffer > | GetCommandBuffer () |
| void | AddRenderPass (std::shared_ptr< impeller::RenderPass > render_pass) |
| bool | AddCompletionCallback (impeller::CommandBuffer::CompletionCallback completion_callback) |
| bool | CopyBufferToTexture (DeviceBuffer &source, size_t source_offset, size_t source_length, Texture &destination, impeller::IRect destination_region, uint32_t mip_level, uint32_t slice) |
| bool | CopyTextureToBuffer (Texture &source, impeller::IRect source_region, DeviceBuffer &destination, size_t destination_offset) |
| bool | CopyTextureToTexture (Texture &source, Texture &destination, impeller::IRect source_region, impeller::IPoint destination_origin) |
| bool | Submit () |
| bool | Submit (const impeller::CommandBuffer::CompletionCallback &completion_callback) |
| ~CommandBuffer () override | |
Public Member Functions inherited from flutter::RefCountedDartWrappable< CommandBuffer > | |
| virtual void | RetainDartWrappableReference () const override |
| virtual void | ReleaseDartWrappableReference () const override |
Public Member Functions inherited from fml::RefCountedThreadSafe< T > | |
| void | Release () const |
Public Member Functions inherited from fml::internal::RefCountedThreadSafeBase | |
| void | AddRef () const |
| bool | HasOneRef () const |
| void | AssertHasOneRef () const |
Public Member Functions inherited from tonic::DartWrappable | |
| DartWrappable () | |
| virtual const DartWrapperInfo & | GetDartWrapperInfo () const =0 |
| Dart_Handle | CreateDartWrapper (DartState *dart_state) |
| void | AssociateWithDartWrapper (Dart_Handle wrappable) |
| void | ClearDartWrapper () |
| Dart_WeakPersistentHandle | dart_wrapper () const |
Additional Inherited Members | |
Public Types inherited from tonic::DartWrappable | |
| enum | DartNativeFields { kPeerIndex , kNumberOfNativeFields } |
Protected Member Functions inherited from fml::RefCountedThreadSafe< T > | |
| RefCountedThreadSafe () | |
| ~RefCountedThreadSafe () | |
Protected Member Functions inherited from fml::internal::RefCountedThreadSafeBase | |
| RefCountedThreadSafeBase () | |
| ~RefCountedThreadSafeBase () | |
| bool | Release () const |
| void | Adopt () |
Protected Member Functions inherited from tonic::DartWrappable | |
| virtual | ~DartWrappable () |
Static Protected Member Functions inherited from tonic::DartWrappable | |
| static Dart_PersistentHandle | GetTypeForWrapper (tonic::DartState *dart_state, const tonic::DartWrapperInfo &wrapper_info) |
Definition at line 26 of file command_buffer.h.
| flutter::gpu::CommandBuffer::CommandBuffer | ( | std::shared_ptr< impeller::Context > | context, |
| std::shared_ptr< impeller::CommandBuffer > | command_buffer | ||
| ) |
Definition at line 20 of file command_buffer.cc.
|
overridedefault |
References render_pass.
| bool flutter::gpu::CommandBuffer::AddCompletionCallback | ( | impeller::CommandBuffer::CompletionCallback | completion_callback | ) |
Definition at line 107 of file command_buffer.cc.
| void flutter::gpu::CommandBuffer::AddRenderPass | ( | std::shared_ptr< impeller::RenderPass > | render_pass | ) |
Definition at line 42 of file command_buffer.cc.
References render_pass.
| bool flutter::gpu::CommandBuffer::CopyBufferToTexture | ( | DeviceBuffer & | source, |
| size_t | source_offset, | ||
| size_t | source_length, | ||
| Texture & | destination, | ||
| impeller::IRect | destination_region, | ||
| uint32_t | mip_level, | ||
| uint32_t | slice | ||
| ) |
Definition at line 63 of file command_buffer.cc.
References flutter::gpu::DeviceBuffer::GetBuffer(), and flutter::gpu::Texture::GetTexture().
| bool flutter::gpu::CommandBuffer::CopyTextureToBuffer | ( | Texture & | source, |
| impeller::IRect | source_region, | ||
| DeviceBuffer & | destination, | ||
| size_t | destination_offset | ||
| ) |
Definition at line 81 of file command_buffer.cc.
References flutter::gpu::DeviceBuffer::GetBuffer(), and flutter::gpu::Texture::GetTexture().
| bool flutter::gpu::CommandBuffer::CopyTextureToTexture | ( | Texture & | source, |
| Texture & | destination, | ||
| impeller::IRect | source_region, | ||
| impeller::IPoint | destination_origin | ||
| ) |
Definition at line 94 of file command_buffer.cc.
References flutter::gpu::Texture::GetTexture().
| std::shared_ptr< impeller::CommandBuffer > flutter::gpu::CommandBuffer::GetCommandBuffer | ( | ) |
Definition at line 38 of file command_buffer.cc.
| bool flutter::gpu::CommandBuffer::Submit | ( | ) |
Definition at line 118 of file command_buffer.cc.
References Submit().
Referenced by InternalFlutterGpu_CommandBuffer_Submit(), and Submit().
| bool flutter::gpu::CommandBuffer::Submit | ( | const impeller::CommandBuffer::CompletionCallback & | completion_callback | ) |
Definition at line 122 of file command_buffer.cc.
References callback, command_buffer, context, flutter::UIDartState::Current(), impeller::CommandBuffer::kError, impeller::Context::kOpenGLES, and fml::MakeCopyable().