5#ifndef FLUTTER_SHELL_PLATFORM_EMBEDDER_EMBEDDER_SURFACE_METAL_SKIA_H_
6#define FLUTTER_SHELL_PLATFORM_EMBEDDER_EMBEDDER_SURFACE_METAL_SKIA_H_
10#include "flutter/fml/macros.h"
11#include "flutter/shell/gpu/gpu_surface_metal_delegate.h"
12#include "flutter/shell/gpu/gpu_surface_metal_skia.h"
13#include "flutter/shell/platform/embedder/embedder_external_view_embedder.h"
14#include "flutter/shell/platform/embedder/embedder_surface.h"
36 std::shared_ptr<EmbedderExternalViewEmbedder> external_view_embedder);
43 std::shared_ptr<EmbedderExternalViewEmbedder> external_view_embedder_;
49 bool IsValid()
const override;
52 std::unique_ptr<Surface> CreateGPUSurface()
override;
59 const SkISize& frame_size)
const override;
62 bool PresentDrawable(
GrMTLHandle drawable)
const override;
Dart_NativeFunction function
void * GPUMTLDeviceHandle
void * GPUCAMetalLayerHandle
void * GPUMTLCommandQueueHandle