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