You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
391 B
20 lines
391 B
4 years ago
|
#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);
|