#include <embedder.h>
Public Attributes | |
| size_t | struct_size |
| The size of this struct. Must be sizeof(FlutterMetalRendererConfig). | |
| FlutterMetalDeviceHandle | device |
| Alias for id<MTLDevice>. | |
| FlutterMetalCommandQueueHandle | present_command_queue |
| Alias for id<MTLCommandQueue>. | |
| FlutterMetalTextureCallback | get_next_drawable_callback |
| FlutterMetalPresentCallback | present_drawable_callback |
| FlutterMetalTextureFrameCallback | external_texture_frame_callback |
Definition at line 887 of file embedder.h.
| FlutterMetalDeviceHandle FlutterMetalRendererConfig::device |
Alias for id<MTLDevice>.
Definition at line 891 of file embedder.h.
Referenced by InferMetalPlatformViewCreationCallback().
| FlutterMetalTextureFrameCallback FlutterMetalRendererConfig::external_texture_frame_callback |
When the embedder specifies that a texture has a frame available, the engine will call this method (on an internal engine managed thread) so that external texture details can be supplied to the engine for subsequent composition.
Definition at line 908 of file embedder.h.
Referenced by FlutterEngineInitialize().
| FlutterMetalTextureCallback FlutterMetalRendererConfig::get_next_drawable_callback |
The callback that gets invoked when the engine requests the embedder for a texture to render to.
Not used if a FlutterCompositor is supplied in FlutterProjectArgs.
Definition at line 898 of file embedder.h.
Referenced by InferMetalPlatformViewCreationCallback().
| FlutterMetalCommandQueueHandle FlutterMetalRendererConfig::present_command_queue |
Alias for id<MTLCommandQueue>.
Definition at line 893 of file embedder.h.
Referenced by InferMetalPlatformViewCreationCallback().
| FlutterMetalPresentCallback FlutterMetalRendererConfig::present_drawable_callback |
The callback presented to the embedder to present a fully populated metal texture to the user.
Not used if a FlutterCompositor is supplied in FlutterProjectArgs.
Definition at line 903 of file embedder.h.
Referenced by InferMetalPlatformViewCreationCallback().
| size_t FlutterMetalRendererConfig::struct_size |
The size of this struct. Must be sizeof(FlutterMetalRendererConfig).
Definition at line 889 of file embedder.h.
Referenced by flutter::testing::EmbedderTestContextMetal::EmbedderTestContextMetal().