An EGL config. These are returned by the display to indicate support for a specific config descriptor. More...
#include <config.h>
Public Member Functions | |
| ~Config () | |
| bool | IsValid () const |
| const ConfigDescriptor & | GetDescriptor () const |
| const EGLConfig & | GetHandle () const |
| Config (ConfigDescriptor descriptor, EGLConfig config) | |
An EGL config. These are returned by the display to indicate support for a specific config descriptor.
There is no ability to construct these manually except for testing.
|
default |
| impeller::egl::Config::Config | ( | ConfigDescriptor | descriptor, |
| EGLConfig | config | ||
| ) |
| const ConfigDescriptor & impeller::egl::Config::GetDescriptor | ( | ) | const |
Definition at line 17 of file config.cc.
Referenced by impeller::egl::Display::CreateContext().
| const EGLConfig & impeller::egl::Config::GetHandle | ( | ) | const |
Definition at line 21 of file config.cc.
Referenced by impeller::egl::Display::CreateContext(), impeller::egl::Display::CreatePixelBufferSurface(), and impeller::egl::Display::CreateWindowSurface().
| bool impeller::egl::Config::IsValid | ( | ) | const |