#include "flutter/lib/gpu/command_buffer.h"#include "dart_api.h"#include "fml/make_copyable.h"#include "impeller/core/buffer_view.h"#include "impeller/renderer/command_buffer.h"#include "impeller/renderer/render_pass.h"#include "lib/ui/ui_dart_state.h"#include "tonic/converter/dart_converter.h"Go to the source code of this file.
Namespaces | |
| namespace | flutter |
| namespace | flutter::gpu |
Functions | |
| flutter::gpu::IMPLEMENT_WRAPPERTYPEINFO (flutter_gpu, CommandBuffer) | |
| bool | InternalFlutterGpu_CommandBuffer_Initialize (Dart_Handle wrapper, flutter::gpu::Context *contextWrapper) |
| Dart_Handle | InternalFlutterGpu_CommandBuffer_Submit (flutter::gpu::CommandBuffer *wrapper, Dart_Handle completion_callback) |
| Dart_Handle | InternalFlutterGpu_CommandBuffer_CopyBufferToTexture (flutter::gpu::CommandBuffer *command_buffer, flutter::gpu::DeviceBuffer *source, int source_offset_in_bytes, int source_length_in_bytes, flutter::gpu::Texture *destination, int destination_x, int destination_y, int destination_width, int destination_height, int mip_level, int slice) |
| Dart_Handle | InternalFlutterGpu_CommandBuffer_CopyTextureToBuffer (flutter::gpu::CommandBuffer *command_buffer, flutter::gpu::Texture *source, int source_x, int source_y, int source_width, int source_height, flutter::gpu::DeviceBuffer *destination, int destination_offset_in_bytes) |
| Dart_Handle | InternalFlutterGpu_CommandBuffer_CopyTextureToTexture (flutter::gpu::CommandBuffer *command_buffer, flutter::gpu::Texture *source, flutter::gpu::Texture *destination, int source_x, int source_y, int source_width, int source_height, int destination_x, int destination_y) |
| Dart_Handle InternalFlutterGpu_CommandBuffer_CopyBufferToTexture | ( | flutter::gpu::CommandBuffer * | command_buffer, |
| flutter::gpu::DeviceBuffer * | source, | ||
| int | source_offset_in_bytes, | ||
| int | source_length_in_bytes, | ||
| flutter::gpu::Texture * | destination, | ||
| int | destination_x, | ||
| int | destination_y, | ||
| int | destination_width, | ||
| int | destination_height, | ||
| int | mip_level, | ||
| int | slice | ||
| ) |
Definition at line 259 of file command_buffer.cc.
References command_buffer, impeller::TRect< T >::MakeXYWH(), and tonic::ToDart().
| Dart_Handle InternalFlutterGpu_CommandBuffer_CopyTextureToBuffer | ( | flutter::gpu::CommandBuffer * | command_buffer, |
| flutter::gpu::Texture * | source, | ||
| int | source_x, | ||
| int | source_y, | ||
| int | source_width, | ||
| int | source_height, | ||
| flutter::gpu::DeviceBuffer * | destination, | ||
| int | destination_offset_in_bytes | ||
| ) |
Definition at line 282 of file command_buffer.cc.
References command_buffer, impeller::TRect< T >::MakeXYWH(), and tonic::ToDart().
| Dart_Handle InternalFlutterGpu_CommandBuffer_CopyTextureToTexture | ( | flutter::gpu::CommandBuffer * | command_buffer, |
| flutter::gpu::Texture * | source, | ||
| flutter::gpu::Texture * | destination, | ||
| int | source_x, | ||
| int | source_y, | ||
| int | source_width, | ||
| int | source_height, | ||
| int | destination_x, | ||
| int | destination_y | ||
| ) |
Definition at line 301 of file command_buffer.cc.
References command_buffer, impeller::TRect< T >::MakeXYWH(), and tonic::ToDart().
| bool InternalFlutterGpu_CommandBuffer_Initialize | ( | Dart_Handle | wrapper, |
| flutter::gpu::Context * | contextWrapper | ||
| ) |
Exports
Definition at line 197 of file command_buffer.cc.
References impeller::Context::CreateCommandBuffer(), flutter::gpu::Context::GetContext(), and flutter::gpu::Context::GetContextShared().
| Dart_Handle InternalFlutterGpu_CommandBuffer_Submit | ( | flutter::gpu::CommandBuffer * | wrapper, |
| Dart_Handle | completion_callback | ||
| ) |
Definition at line 208 of file command_buffer.cc.
References callback, flutter::UIDartState::Current(), tonic::DartInvoke(), impeller::CommandBuffer::kError, fml::MakeCopyable(), flutter::gpu::CommandBuffer::Submit(), and tonic::ToDart().