summaryrefslogtreecommitdiff
path: root/include/ui/egl-helpers.h
blob: 8c84398001dbd95e6e68d8733ac983e8d55b3ad1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef EGL_HELPERS_H
#define EGL_HELPERS_H

#include <epoxy/gl.h>
#include <epoxy/egl.h>

extern EGLDisplay *qemu_egl_display;
extern EGLConfig qemu_egl_config;

EGLSurface qemu_egl_init_surface_x11(EGLContext ectx, Window win);

int qemu_egl_init_dpy(EGLNativeDisplayType dpy, bool gles, bool debug);
EGLContext qemu_egl_init_ctx(void);

#endif /* EGL_HELPERS_H */