1#ifndef EGL_HELPERS_H 2#define EGL_HELPERS_H 3 4#include <epoxy/gl.h> 5#include <epoxy/egl.h> 6 7extern EGLDisplay *qemu_egl_display; 8extern EGLConfig qemu_egl_config; 9 10EGLSurface qemu_egl_init_surface_x11(EGLContext ectx, Window win); 11 12int qemu_egl_init_dpy(EGLNativeDisplayType dpy, bool gles, bool debug); 13EGLContext qemu_egl_init_ctx(void); 14bool qemu_egl_has_ext(const char *haystack, const char *needle); 15 16#endif /* EGL_HELPERS_H */ 17