5#ifndef FLUTTER_SHELL_PLATFORM_DARWIN_IOS_IOS_EXTERNAL_TEXTURE_METAL_H_
6#define FLUTTER_SHELL_PLATFORM_DARWIN_IOS_IOS_EXTERNAL_TEXTURE_METAL_H_
8#include "flutter/common/graphics/texture.h"
9#include "flutter/fml/macros.h"
10#include "flutter/fml/platform/darwin/scoped_nsobject.h"
11#import "flutter/shell/platform/darwin/graphics/FlutterDarwinExternalTextureMetal.h"
19 darwin_external_texture_metal);
26 darwin_external_texture_metal_;
35 void OnGrContextCreated()
override;
38 void OnGrContextDestroyed()
override;
41 void MarkNewFrameAvailable()
override;
44 void OnTextureUnregistered()
override;
IOSExternalTextureMetal(const fml::scoped_nsobject< FlutterDarwinExternalTextureMetal > &darwin_external_texture_metal)
~IOSExternalTextureMetal()
Optional< SkRect > bounds
SkSamplingOptions sampling