5 #ifndef FLUTTER_SHELL_PLATFORM_DARWIN_IOS_IOS_SURFACE_SOFTWARE_H_
6 #define FLUTTER_SHELL_PLATFORM_DARWIN_IOS_IOS_SURFACE_SOFTWARE_H_
8 #include "flutter/flow/embedded_views.h"
9 #include "flutter/fml/macros.h"
10 #include "flutter/fml/platform/darwin/scoped_nsobject.h"
11 #include "flutter/shell/gpu/gpu_surface_software.h"
15 #include "third_party/skia/include/core/SkSurface.h"
24 std::shared_ptr<IOSContext> context);
35 std::unique_ptr<Surface>
CreateGPUSurface(GrDirectContext* gr_context =
nullptr)
override;
44 fml::scoped_nsobject<CALayer> layer_;
45 sk_sp<SkSurface> sk_surface_;
52 #endif // FLUTTER_SHELL_PLATFORM_DARWIN_IOS_IOS_SURFACE_SOFTWARE_H_