5#ifndef FLUTTER_SHELL_PLATFORM_DARWIN_GRAPHICS_FLUTTERDARWINCONTEXTMETALSKIA_H_
6#define FLUTTER_SHELL_PLATFORM_DARWIN_GRAPHICS_FLUTTERDARWINCONTEXTMETALSKIA_H_
10#import <CoreVideo/CVMetalTextureCache.h>
11#import <Foundation/Foundation.h>
12#import <Metal/Metal.h>
14#import "flutter/shell/platform/darwin/common/framework/Headers/FlutterTexture.h"
15#import "flutter/shell/platform/darwin/graphics/FlutterDarwinExternalTextureMetal.h"
34- (instancetype)initWithMTLDevice:(
id<MTLDevice>)device
35 commandQueue:(
id<MTLCommandQueue>)commandQueue;
41 createExternalTextureWithIdentifier:(int64_t)textureID
48 commandQueue:(
id<MTLCommandQueue>)commandQueue;
53@property(nonatomic, readonly) id<MTLDevice>
device;
#define NS_ASSUME_NONNULL_BEGIN
#define NS_ASSUME_NONNULL_END
CVMetalTextureCacheRef textureCache
sk_sp< GrDirectContext > resourceContext
sk_sp< GrDirectContext > mainContext
sk_sp< GrDirectContext > createGrContext()
instancetype initWithDefaultMTLDevice()
id< MTLCommandQueue > commandQueue