5#ifndef FLUTTER_SHELL_PLATFORM_DARWIN_GRAPHICS_FLUTTERDARWINCONTEXTMETALIMPELLER_H_
6#define FLUTTER_SHELL_PLATFORM_DARWIN_GRAPHICS_FLUTTERDARWINCONTEXTMETALIMPELLER_H_
8#import <CoreVideo/CVMetalTextureCache.h>
9#import <Foundation/Foundation.h>
10#import <Metal/Metal.h>
12#include "flutter/fml/concurrent_message_loop.h"
13#include "flutter/fml/platform/darwin/cf_utils.h"
14#import "flutter/shell/platform/darwin/common/framework/Headers/FlutterTexture.h"
15#import "flutter/shell/platform/darwin/graphics/FlutterDarwinExternalTextureMetal.h"
28- (instancetype)
init:(const
std::shared_ptr<const
fml::SyncSwitch>&)is_gpu_disabled_sync_switch;
34 createExternalTextureWithIdentifier:(int64_t)textureID
40@property(nonatomic, readonly) std::shared_ptr<impeller::ContextMTL>
context;
#define NS_ASSUME_NONNULL_BEGIN
#define NS_ASSUME_NONNULL_END
fml::CFRef< CVMetalTextureCacheRef > textureCache
std::shared_ptr< impeller::ContextMTL > context