Flutter Engine
The Flutter Engine
|
#import <FlutterDarwinContextMetalImpeller.h>
Instance Methods | |
(instancetype) | - init: |
(FlutterDarwinExternalTextureMetal *) | - createExternalTextureWithIdentifier:texture: |
Properties | |
std::shared_ptr< impeller::ContextMTL > | context |
fml::CFRef< CVMetalTextureCacheRef > | textureCache |
Provides skia GrContexts that are shared between iOS and macOS embeddings.
Definition at line 23 of file FlutterDarwinContextMetalImpeller.h.
- (FlutterDarwinExternalTextureMetal *) createExternalTextureWithIdentifier: | (int64_t) | textureID | |
texture: | (NSObject<FlutterTexture>*) | texture | |
Creates an external texture with the specified ID and contents.
Definition at line 22 of file FlutterDarwinContextMetalImpeller.mm.
- (instancetype) init: | (const std::shared_ptr<const fml::SyncSwitch>&) | is_gpu_disabled_sync_switch |
Initializes a FlutterDarwinContextMetalImpeller.
Definition at line 22 of file FlutterDarwinContextMetalImpeller.mm.
|
readnonatomicassign |
Impeller context.
Definition at line 40 of file FlutterDarwinContextMetalImpeller.h.
|
readnonatomicassign |
Definition at line 45 of file FlutterDarwinContextMetalImpeller.h.