An instance of an EGL surface. There is no ability to create surfaces directly. Instead, one must be created using a Display connection. More...
#include <surface.h>
Public Member Functions | |
| ~Surface () | |
| bool | IsValid () const |
| const EGLSurface & | GetHandle () const |
| bool | Present () const |
| Present the surface. For an offscreen pixel buffer surface, this is a no-op. More... | |
Friends | |
| class | Display |
An instance of an EGL surface. There is no ability to create surfaces directly. Instead, one must be created using a Display connection.
| impeller::egl::Surface::~Surface | ( | ) |
| const EGLSurface & impeller::egl::Surface::GetHandle | ( | ) | const |
Definition at line 21 of file surface.cc.
Referenced by impeller::egl::Context::MakeCurrent().
| bool impeller::egl::Surface::IsValid | ( | ) | const |
Definition at line 25 of file surface.cc.
| bool impeller::egl::Surface::Present | ( | ) | const |
Present the surface. For an offscreen pixel buffer surface, this is a no-op.
Definition at line 29 of file surface.cc.
References IMPELLER_LOG_EGL_ERROR.