Flutter Engine
 
Loading...
Searching...
No Matches
flutter::AndroidSurface Class Referenceabstract

#include <android_surface.h>

Inheritance diagram for flutter::AndroidSurface:
flutter::AndroidSurfaceDynamicImpeller flutter::AndroidSurfaceGLImpeller flutter::AndroidSurfaceGLSkia flutter::AndroidSurfaceMock flutter::AndroidSurfaceSoftware flutter::AndroidSurfaceVKImpeller

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 DlISize &size)=0
 
virtual bool ResourceContextMakeCurrent ()=0
 
virtual bool ResourceContextClearCurrent ()=0
 
virtual bool SetNativeWindow (fml::RefPtr< AndroidNativeWindow > window, const std::shared_ptr< PlatformViewAndroidJNI > &jni_facade)=0
 
virtual std::unique_ptr< SurfaceCreateSnapshotSurface ()
 
virtual std::shared_ptr< impeller::ContextGetImpellerContext ()
 
virtual void SetupImpellerSurface ()
 

Protected Member Functions

 AndroidSurface ()
 

Detailed Description

Definition at line 24 of file android_surface.h.

Constructor & Destructor Documentation

◆ ~AndroidSurface()

flutter::AndroidSurface::~AndroidSurface ( )
virtualdefault

◆ AndroidSurface()

flutter::AndroidSurface::AndroidSurface ( )
protecteddefault

Member Function Documentation

◆ CreateGPUSurface()

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

◆ CreateSnapshotSurface()

std::unique_ptr< Surface > flutter::AndroidSurface::CreateSnapshotSurface ( )
virtual

◆ GetImpellerContext()

std::shared_ptr< impeller::Context > flutter::AndroidSurface::GetImpellerContext ( )
virtual

Reimplemented in flutter::AndroidSurfaceDynamicImpeller, flutter::AndroidSurfaceGLImpeller, and flutter::AndroidSurfaceVKImpeller.

Definition at line 18 of file android_surface.cc.

18 {
19 return nullptr;
20}

◆ IsValid()

◆ OnScreenSurfaceResize()

virtual bool flutter::AndroidSurface::OnScreenSurfaceResize ( const DlISize 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,
const std::shared_ptr< PlatformViewAndroidJNI > &  jni_facade 
)
pure virtual

◆ SetupImpellerSurface()

void flutter::AndroidSurface::SetupImpellerSurface ( )
virtual

Reimplemented in flutter::AndroidSurfaceDynamicImpeller.

Definition at line 22 of file android_surface.cc.

22{}

◆ TeardownOnScreenContext()


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