PrevUpHomeNext

Displays

#include <eglplus/display.hpp>

Display is a wrapper around EGLDisplay.

class Display
{
public:
	Display(void); 1

	Display(::EGLNativeDisplayType display_id); 2

	Boolean SwapInterval(EGLint interval); 3

	Boolean ReleaseContext(void); 4
};

::EGLDisplay GetEGLHandle(const Display& display)
noexcept; 5

1

Opens the default display. See eglGetDisplay, EGL_DEFAULT_DISPLAY.

2

Opens the display specified by display_id. See eglGetDisplay.

3

Sets the SwapInterval for this display. See eglSwapInterval.

4

Releases the current context without assigning a new one. See eglMakeCurrent.

5

Returns the EGL display handle wrapped by a Display.


PrevUpHomeNext