mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2024-11-22 15:12:26 +00:00
20 lines
391 B
C
20 lines
391 B
C
|
#ifndef _EGL_COMMON_H
|
||
|
#define _EGL_COMMON_H
|
||
|
#endif
|
||
|
|
||
|
#include <stdbool.h>
|
||
|
#include <wayland-client.h>
|
||
|
|
||
|
#include <EGL/egl.h>
|
||
|
#include <EGL/eglext.h>
|
||
|
|
||
|
extern EGLDisplay egl_display;
|
||
|
extern EGLConfig egl_config;
|
||
|
extern EGLContext egl_context;
|
||
|
|
||
|
extern PFNEGLCREATEPLATFORMWINDOWSURFACEEXTPROC eglCreatePlatformWindowSurfaceEXT;
|
||
|
|
||
|
bool egl_init(struct wl_display *display);
|
||
|
|
||
|
void egl_finish(void);
|