Flutter Engine
The Flutter Engine
|
#include <test_gl_surface.h>
Public Member Functions | |
TestGLSurface (SkISize surface_size) | |
~TestGLSurface () | |
const SkISize & | GetSurfaceSize () const |
bool | MakeCurrent () |
bool | ClearCurrent () |
bool | Present () |
uint32_t | GetFramebuffer (uint32_t width, uint32_t height) const |
bool | MakeResourceCurrent () |
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 |
Definition at line 18 of file test_gl_surface.h.
|
explicit |
Definition at line 133 of file test_gl_surface.cc.
flutter::testing::TestGLSurface::~TestGLSurface | ( | ) |
Definition at line 218 of file test_gl_surface.cc.
bool flutter::testing::TestGLSurface::ClearCurrent | ( | ) |
Definition at line 252 of file test_gl_surface.cc.
sk_sp< GrDirectContext > flutter::testing::TestGLSurface::CreateGrContext | ( | ) |
Definition at line 308 of file test_gl_surface.cc.
uint32_t flutter::testing::TestGLSurface::GetFramebuffer | ( | uint32_t | width, |
uint32_t | height | ||
) | const |
Definition at line 273 of file test_gl_surface.cc.
sk_sp< GrDirectContext > flutter::testing::TestGLSurface::GetGrContext | ( | ) |
Definition at line 300 of file test_gl_surface.cc.
Definition at line 344 of file test_gl_surface.cc.
void * flutter::testing::TestGLSurface::GetProcAddress | ( | const char * | name | ) | const |
Definition at line 289 of file test_gl_surface.cc.
Definition at line 387 of file test_gl_surface.cc.
const SkISize & flutter::testing::TestGLSurface::GetSurfaceSize | ( | ) | const |
Definition at line 237 of file test_gl_surface.cc.
uint32_t flutter::testing::TestGLSurface::GetWindowFBOId | ( | ) | const |
Definition at line 415 of file test_gl_surface.cc.
bool flutter::testing::TestGLSurface::MakeCurrent | ( | ) |
Definition at line 241 of file test_gl_surface.cc.
bool flutter::testing::TestGLSurface::MakeResourceCurrent | ( | ) |
Definition at line 277 of file test_gl_surface.cc.
bool flutter::testing::TestGLSurface::Present | ( | ) |
Definition at line 263 of file test_gl_surface.cc.