#include <window_surface.h>
Public Member Functions | |
WindowSurface (EGLDisplay display, EGLContext context, EGLSurface surface, size_t width, size_t height) | |
virtual bool | SetVSyncEnabled (bool enabled) |
virtual size_t | width () const |
virtual size_t | height () const |
virtual bool | vsync_enabled () const |
Public Member Functions inherited from flutter::egl::Surface | |
Surface (EGLDisplay display, EGLContext context, EGLSurface surface) | |
virtual | ~Surface () |
virtual bool | Destroy () |
virtual bool | IsValid () const |
virtual bool | IsCurrent () const |
virtual bool | MakeCurrent () const |
virtual bool | SwapBuffers () const |
virtual const EGLSurface & | GetHandle () const |
Additional Inherited Members | |
Protected Member Functions inherited from flutter::egl::Surface | |
FML_DISALLOW_COPY_AND_ASSIGN (Surface) | |
Protected Attributes inherited from flutter::egl::Surface | |
bool | is_valid_ = true |
EGLDisplay | display_ = EGL_NO_DISPLAY |
EGLContext | context_ = EGL_NO_CONTEXT |
EGLSurface | surface_ = EGL_NO_SURFACE |
Definition at line 19 of file window_surface.h.
flutter::egl::WindowSurface::WindowSurface | ( | EGLDisplay | display, |
EGLContext | context, | ||
EGLSurface | surface, | ||
size_t | width, | ||
size_t | height | ||
) |
Definition at line 13 of file window_surface.cc.
|
virtual |
Definition at line 36 of file window_surface.cc.
|
virtual |
Definition at line 20 of file window_surface.cc.
References flutter::egl::Surface::display_, flutter::egl::Surface::IsCurrent(), and WINDOWS_LOG_EGL_ERROR.
|
virtual |
Definition at line 40 of file window_surface.cc.
|
virtual |
Definition at line 32 of file window_surface.cc.