Wayland++  0.2.6
C++ Bindings for Wayland
wayland::egl_window_t Class Reference

Native EGL window. More...

#include <wayland-egl.hpp>

Inheritance diagram for wayland::egl_window_t:
Collaboration diagram for wayland::egl_window_t:

Public Member Functions

 egl_window_t (surface_t const &surface, int width, int height)
 Create a native egl window for use with eglCreateWindowSurface. More...
 

Detailed Description

Native EGL window.

Examples
egl.cpp.

Definition at line 42 of file wayland-egl.hpp.

Constructor & Destructor Documentation

◆ egl_window_t()

wayland::egl_window_t::egl_window_t ( surface_t const &  surface,
int  width,
int  height 
)

Create a native egl window for use with eglCreateWindowSurface.

Parameters
surfaceThe Wayland surface to use
widthWidth of the EGL buffer
heightheight of the EGL buffer

The documentation for this class was generated from the following file: