5 #ifndef FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_SOURCE_FLUTTEREXTERNALTEXTURE_H_
6 #define FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_SOURCE_FLUTTEREXTERNALTEXTURE_H_
8 #import <Foundation/Foundation.h>
10 #import "flutter/shell/platform/darwin/graphics/FlutterDarwinContextMetalSkia.h"
11 #include "flutter/shell/platform/embedder/embedder.h"
23 - (nonnull instancetype)initWithFlutterTexture:(nonnull
id<
FlutterTexture>)texture
24 darwinMetalContext:(nonnull FlutterDarwinContextMetalSkia*)context;
37 - (BOOL)populateTexture:(nonnull FlutterMetalExternalTexture*)metalTexture;
41 #endif // FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_SOURCE_FLUTTEREXTERNALTEXTURE_H_