#include <android_surface_gl_impeller.h>
◆ AndroidSurfaceGLImpeller()
flutter::AndroidSurfaceGLImpeller::AndroidSurfaceGLImpeller |
( |
const std::shared_ptr< AndroidContextGLImpeller > & |
android_context | ) |
|
|
explicit |
Definition at line 13 of file android_surface_gl_impeller.cc.
15 : android_context_(android_context) {
16 offscreen_surface_ = android_context_->CreateOffscreenSurface();
17
18 if (!offscreen_surface_) {
20 return;
21 }
22
23
24
25 is_valid_ = true;
26}
#define FML_DLOG(severity)
◆ ~AndroidSurfaceGLImpeller()
flutter::AndroidSurfaceGLImpeller::~AndroidSurfaceGLImpeller |
( |
| ) |
|
|
overridedefault |
◆ CreateGPUSurface()
std::unique_ptr< Surface > flutter::AndroidSurfaceGLImpeller::CreateGPUSurface |
( |
GrDirectContext * |
gr_context | ) |
|
|
overridevirtual |
◆ CreateSnapshotSurface()
std::unique_ptr< Surface > flutter::AndroidSurfaceGLImpeller::CreateSnapshotSurface |
( |
| ) |
|
|
overridevirtual |
◆ GetGLInterface()
◆ GetImpellerContext()
std::shared_ptr< impeller::Context > flutter::AndroidSurfaceGLImpeller::GetImpellerContext |
( |
| ) |
|
|
overridevirtual |
◆ GLContextClearCurrent()
bool flutter::AndroidSurfaceGLImpeller::GLContextClearCurrent |
( |
| ) |
|
|
overridevirtual |
◆ GLContextFBO()
◆ GLContextFramebufferInfo()
◆ GLContextMakeCurrent()
std::unique_ptr< GLContextResult > flutter::AndroidSurfaceGLImpeller::GLContextMakeCurrent |
( |
| ) |
|
|
overridevirtual |
◆ GLContextPresent()
bool flutter::AndroidSurfaceGLImpeller::GLContextPresent |
( |
const GLPresentInfo & |
present_info | ) |
|
|
overridevirtual |
◆ GLContextSetDamageRegion()
void flutter::AndroidSurfaceGLImpeller::GLContextSetDamageRegion |
( |
const std::optional< SkIRect > & |
region | ) |
|
|
overridevirtual |
◆ IsValid()
bool flutter::AndroidSurfaceGLImpeller::IsValid |
( |
| ) |
const |
|
overridevirtual |
◆ OnScreenSurfaceResize()
bool flutter::AndroidSurfaceGLImpeller::OnScreenSurfaceResize |
( |
const SkISize & |
size | ) |
|
|
overridevirtual |
◆ ResourceContextClearCurrent()
bool flutter::AndroidSurfaceGLImpeller::ResourceContextClearCurrent |
( |
| ) |
|
|
overridevirtual |
◆ ResourceContextMakeCurrent()
bool flutter::AndroidSurfaceGLImpeller::ResourceContextMakeCurrent |
( |
| ) |
|
|
overridevirtual |
◆ SetNativeWindow()
◆ TeardownOnScreenContext()
void flutter::AndroidSurfaceGLImpeller::TeardownOnScreenContext |
( |
| ) |
|
|
overridevirtual |
The documentation for this class was generated from the following files: