summaryrefslogtreecommitdiffstats
path: root/src/include/ui/egl-context.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/ui/egl-context.h')
-rw-r--r--src/include/ui/egl-context.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/include/ui/egl-context.h b/src/include/ui/egl-context.h
new file mode 100644
index 0000000..f004ce1
--- /dev/null
+++ b/src/include/ui/egl-context.h
@@ -0,0 +1,14 @@
+#ifndef EGL_CONTEXT_H
+#define EGL_CONTEXT_H
+
+#include "ui/console.h"
+#include "ui/egl-helpers.h"
+
+QEMUGLContext qemu_egl_create_context(DisplayChangeListener *dcl,
+ QEMUGLParams *params);
+void qemu_egl_destroy_context(DisplayChangeListener *dcl, QEMUGLContext ctx);
+int qemu_egl_make_context_current(DisplayChangeListener *dcl,
+ QEMUGLContext ctx);
+QEMUGLContext qemu_egl_get_current_context(DisplayChangeListener *dcl);
+
+#endif /* EGL_CONTEXT_H */
OpenPOWER on IntegriCloud