#include <test_gl_surface.h>
Public Member Functions | |
| TestGLSurface (DlISize surface_size) | |
| TestGLSurface (std::shared_ptr< TestEGLContext > egl_context, DlISize surface_size) | |
| ~TestGLSurface () | |
| bool | MakeResourceCurrent () |
Public Member Functions inherited from flutter::testing::TestGLOnscreenOnlySurface | |
| TestGLOnscreenOnlySurface (DlISize surface_size) | |
| TestGLOnscreenOnlySurface (std::shared_ptr< TestEGLContext > context, DlISize size) | |
| ~TestGLOnscreenOnlySurface () | |
| const DlISize & | GetSurfaceSize () const |
| bool | MakeCurrent () |
| bool | ClearCurrent () |
| bool | Present () |
| uint32_t | GetFramebuffer (uint32_t width, uint32_t height) const |
| void * | GetProcAddress (const char *name) const |
| sk_sp< SkSurface > | GetOnscreenSurface () |
| sk_sp< GrDirectContext > | GetGrContext () |
| sk_sp< GrDirectContext > | CreateGrContext () |
| sk_sp< SkImage > | GetRasterSurfaceSnapshot () |
| uint32_t | GetWindowFBOId () const |
Additional Inherited Members | |
Protected Types inherited from flutter::testing::TestGLOnscreenOnlySurface | |
| using | EGLSurface = void * |
Protected Member Functions inherited from flutter::testing::TestGLOnscreenOnlySurface | |
| FML_DISALLOW_COPY_AND_ASSIGN (TestGLOnscreenOnlySurface) | |
Protected Attributes inherited from flutter::testing::TestGLOnscreenOnlySurface | |
| const DlISize | surface_size_ |
| std::shared_ptr< TestEGLContext > | egl_context_ |
| EGLSurface | onscreen_surface_ |
| sk_sp< GrDirectContext > | skia_context_ |
Definition at line 61 of file test_gl_surface.h.
|
explicit |
Definition at line 225 of file test_gl_surface.cc.
|
explicit |
Definition at line 228 of file test_gl_surface.cc.
References flutter::testing::TestGLOnscreenOnlySurface::egl_context_, FML_CHECK, and flutter::testing::GetEGLError().
| flutter::testing::TestGLSurface::~TestGLSurface | ( | ) |
Definition at line 246 of file test_gl_surface.cc.
References flutter::testing::TestGLOnscreenOnlySurface::egl_context_, FML_CHECK, and flutter::testing::GetEGLError().
| bool flutter::testing::TestGLSurface::MakeResourceCurrent | ( | ) |
Definition at line 251 of file test_gl_surface.cc.
References flutter::testing::TestGLOnscreenOnlySurface::egl_context_, FML_LOG, and flutter::testing::GetEGLError().