summaryrefslogtreecommitdiffstats
path: root/src/include/ui/egl-helpers.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/ui/egl-helpers.h')
-rw-r--r--src/include/ui/egl-helpers.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/include/ui/egl-helpers.h b/src/include/ui/egl-helpers.h
new file mode 100644
index 0000000..5ad5dc3
--- /dev/null
+++ b/src/include/ui/egl-helpers.h
@@ -0,0 +1,16 @@
+#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);
+bool qemu_egl_has_ext(const char *haystack, const char *needle);
+
+#endif /* EGL_HELPERS_H */
OpenPOWER on IntegriCloud