Flutter Engine
The Flutter Engine
Public Member Functions | List of all members
flutter::EmbedderSurface Class Referenceabstract

#include <embedder_surface.h>

Inheritance diagram for flutter::EmbedderSurface:
flutter::EmbedderSurfaceGLImpeller flutter::EmbedderSurfaceGLSkia flutter::EmbedderSurfaceMetalImpeller flutter::EmbedderSurfaceMetalSkia flutter::EmbedderSurfaceSoftware flutter::EmbedderSurfaceVulkan

Public Member Functions

 EmbedderSurface ()
 
virtual ~EmbedderSurface ()
 
virtual bool IsValid () const =0
 
virtual std::unique_ptr< SurfaceCreateGPUSurface ()=0
 
virtual std::shared_ptr< impeller::ContextCreateImpellerContext () const
 
virtual sk_sp< GrDirectContextCreateResourceContext () const
 

Detailed Description

Definition at line 15 of file embedder_surface.h.

Constructor & Destructor Documentation

◆ EmbedderSurface()

flutter::EmbedderSurface::EmbedderSurface ( )
default

◆ ~EmbedderSurface()

flutter::EmbedderSurface::~EmbedderSurface ( )
virtualdefault

Member Function Documentation

◆ CreateGPUSurface()

virtual std::unique_ptr< Surface > flutter::EmbedderSurface::CreateGPUSurface ( )
pure virtual

◆ CreateImpellerContext()

std::shared_ptr< impeller::Context > flutter::EmbedderSurface::CreateImpellerContext ( ) const
virtual

Definition at line 13 of file embedder_surface.cc.

14 {
15 return nullptr;
16}

◆ CreateResourceContext()

sk_sp< GrDirectContext > flutter::EmbedderSurface::CreateResourceContext ( ) const
virtual

Definition at line 18 of file embedder_surface.cc.

18 {
19 return nullptr;
20}

◆ IsValid()

virtual bool flutter::EmbedderSurface::IsValid ( ) const
pure virtual

The documentation for this class was generated from the following files: