5#ifndef FLUTTER_SHELL_PLATFORM_DARWIN_IOS_IOS_SURFACE_H_
6#define FLUTTER_SHELL_PLATFORM_DARWIN_IOS_IOS_SURFACE_H_
22 static std::unique_ptr<IOSSurface>
Create(std::shared_ptr<IOSContext>
context, CALayer* layer);
24 std::shared_ptr<IOSContext>
GetContext()
const;
35 explicit IOSSurface(std::shared_ptr<IOSContext> ios_context);
38 std::shared_ptr<IOSContext> ios_context_;
virtual bool IsValid() const =0
static std::unique_ptr< IOSSurface > Create(std::shared_ptr< IOSContext > context, CALayer *layer)
virtual void UpdateStorageSizeIfNecessary()=0
std::shared_ptr< IOSContext > GetContext() const
virtual std::unique_ptr< Surface > CreateGPUSurface()=0
#define FML_DISALLOW_COPY_AND_ASSIGN(TypeName)
std::shared_ptr< ContextGLES > context