Flutter Engine
flutter::AndroidSurface Class Referenceabstract

#include <android_surface.h>

Inheritance diagram for flutter::AndroidSurface:
flutter::AndroidSurfaceGL flutter::AndroidSurfaceMock flutter::AndroidSurfaceSoftware flutter::AndroidSurfaceVulkan

Public Member Functions

virtual ~AndroidSurface ()
 
virtual bool IsValid () const =0
 
virtual void TeardownOnScreenContext ()=0
 
virtual std::unique_ptr< SurfaceCreateGPUSurface (GrDirectContext *gr_context=nullptr)=0
 
virtual bool OnScreenSurfaceResize (const SkISize &size)=0
 
virtual bool ResourceContextMakeCurrent ()=0
 
virtual bool ResourceContextClearCurrent ()=0
 
virtual bool SetNativeWindow (fml::RefPtr< AndroidNativeWindow > window)=0
 

Detailed Description

Definition at line 20 of file android_surface.h.

Constructor & Destructor Documentation

◆ ~AndroidSurface()

flutter::AndroidSurface::~AndroidSurface ( )
virtualdefault

Member Function Documentation

◆ CreateGPUSurface()

virtual std::unique_ptr<Surface> flutter::AndroidSurface::CreateGPUSurface ( GrDirectContext *  gr_context = nullptr)
pure virtual

◆ IsValid()

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

◆ OnScreenSurfaceResize()

virtual bool flutter::AndroidSurface::OnScreenSurfaceResize ( const SkISize &  size)
pure virtual

◆ ResourceContextClearCurrent()

virtual bool flutter::AndroidSurface::ResourceContextClearCurrent ( )
pure virtual

◆ ResourceContextMakeCurrent()

virtual bool flutter::AndroidSurface::ResourceContextMakeCurrent ( )
pure virtual

◆ SetNativeWindow()

virtual bool flutter::AndroidSurface::SetNativeWindow ( fml::RefPtr< AndroidNativeWindow window)
pure virtual

◆ TeardownOnScreenContext()

virtual void flutter::AndroidSurface::TeardownOnScreenContext ( )
pure virtual

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