#include <FlutterDarwinContextMetalImpeller.h>
Instance Methods | |
| (instancetype) | - init:gpuDisabledSyncSwitch: |
| (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 18 of file FlutterDarwinContextMetalImpeller.mm.
References impeller::ContextMTL::Create().
| - (instancetype) init: | (const impeller::Flags&) | flags | |
| gpuDisabledSyncSwitch: | (const std::shared_ptr<const fml::SyncSwitch>&) | is_gpu_disabled_sync_switch | |
Initializes a FlutterDarwinContextMetalImpeller.
Definition at line 18 of file FlutterDarwinContextMetalImpeller.mm.
|
readnonatomicassign |
Impeller context.
Definition at line 42 of file FlutterDarwinContextMetalImpeller.h.
Referenced by flutter::testing::ShellTestPlatformViewMetal::ShellTestPlatformViewMetal().
|
readnonatomicassign |
Definition at line 47 of file FlutterDarwinContextMetalImpeller.h.