#include <surface.h>
Definition at line 14 of file surface.h.
◆ Surface()
impeller::egl::Surface::Surface |
( |
EGLDisplay |
display, |
|
|
EGLSurface |
surface |
|
) |
| |
Definition at line 10 of file surface.cc.
11 : display_(display), surface_(surface) {}
◆ ~Surface()
impeller::egl::Surface::~Surface |
( |
| ) |
|
Definition at line 13 of file surface.cc.
14 if (surface_ != EGL_NO_SURFACE) {
15 if (::eglDestroySurface(display_, surface_) != EGL_TRUE) {
References IMPELLER_LOG_EGL_ERROR.
◆ GetHandle()
const EGLSurface & impeller::egl::Surface::GetHandle |
( |
| ) |
const |
◆ IsValid()
bool impeller::egl::Surface::IsValid |
( |
| ) |
const |
Definition at line 25 of file surface.cc.
26 return surface_ != EGL_NO_SURFACE;
◆ Present()
bool impeller::egl::Surface::Present |
( |
| ) |
const |
The documentation for this class was generated from the following files: