Wrapper around EGLDisplay. More...
#include </home/chochlik/devel/oglplus/include/eglplus/display.hpp>
Public Member Functions | |
Display (void) | |
Opens the default display. More... | |
Display (::EGLNativeDisplayType display_id) | |
Opens the display specified by display_id . More... | |
bool | SwapInterval (EGLint interval) |
Sets the SwapInterval for the current display. More... | |
bool | ReleaseContext (void) |
Releases the current context without assigning a new one. More... | |
Wrapper around EGLDisplay.
eglplus::Display::Display | ( | void | ) |
Opens the default display.
eglGetDisplay
EGL_DEFAULT_DISPLAY
eglplus::Display::Display | ( | ::EGLNativeDisplayType | display_id | ) |
Opens the display specified by display_id
.
eglGetDisplay
bool eglplus::Display::ReleaseContext | ( | void | ) |
Releases the current context without assigning a new one.
eglMakeCurrent
bool eglplus::Display::SwapInterval | ( | EGLint | interval | ) |
Sets the SwapInterval for the current display.
eglSwapInterval