diff options
Diffstat (limited to 'qemu/include/ui/egl-context.h')
-rw-r--r-- | qemu/include/ui/egl-context.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/qemu/include/ui/egl-context.h b/qemu/include/ui/egl-context.h new file mode 100644 index 000000000..f004ce11a --- /dev/null +++ b/qemu/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 */ |