blob: 0422a52bbfa0ff3a9e1e4f14b486b1dea43773ac (
plain)
| 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
 | #ifndef WLR_BACKEND_EGL_H
#define WLR_BACKEND_EGL_H
#include <EGL/egl.h>
#include <stdbool.h>
struct wlr_egl {
	EGLDisplay display;
	EGLConfig config;
	EGLContext context;
};
const char *egl_error(void);
bool wlr_egl_init(struct wlr_egl *egl, EGLenum platform, void *display);
void wlr_egl_free(struct wlr_egl *egl);
EGLSurface wlr_egl_create_surface(struct wlr_egl *egl, void *window);
#endif
 |