Flutter Engine
The Flutter Engine
Public Member Functions | List of all members
flutter_runner::Surface Class Referencefinal

#include <surface.h>

Inheritance diagram for flutter_runner::Surface:
flutter::Surface

Public Member Functions

 Surface (std::string debug_label, std::shared_ptr< flutter::ExternalViewEmbedder > view_embedder, GrDirectContext *gr_context)
 
 ~Surface () override
 
- Public Member Functions inherited from flutter::Surface
 Surface ()
 
virtual ~Surface ()
 
virtual bool IsValid ()=0
 
virtual std::unique_ptr< SurfaceFrameAcquireFrame (const SkISize &size)=0
 
virtual SkMatrix GetRootTransformation () const =0
 
virtual GrDirectContextGetContext ()=0
 
virtual std::unique_ptr< GLContextResultMakeRenderContextCurrent ()
 
virtual bool ClearRenderContext ()
 
virtual bool AllowsDrawingWhenGpuDisabled () const
 
virtual bool EnableRasterCache () const
 
virtual std::shared_ptr< impeller::AiksContextGetAiksContext () const
 
virtual SurfaceData GetSurfaceData () const
 

Detailed Description

Definition at line 17 of file surface.h.

Constructor & Destructor Documentation

◆ Surface()

Surface::Surface ( std::string  debug_label,
std::shared_ptr< flutter::ExternalViewEmbedder view_embedder,
GrDirectContext gr_context 
)

Definition at line 16 of file surface.cc.

19 : debug_label_(std::move(debug_label)),
20 view_embedder_(view_embedder),
21 gr_context_(gr_context) {}

◆ ~Surface()

Surface::~Surface ( )
overridevirtualdefault

Reimplemented from flutter::Surface.


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