mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-24 20:19:44 +00:00
6c18744d0f
Add helper functions to manage opengl contexts using egl. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
15 lines
519 B
C
15 lines
519 B
C
#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 */
|