5e79d516e8
This will allow to have one GL context but a variable number of listeners. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Acked-by: Gerd Hoffmann <kraxel@redhat.com>
14 lines
420 B
C
14 lines
420 B
C
#ifndef EGL_CONTEXT_H
|
|
#define EGL_CONTEXT_H
|
|
|
|
#include "ui/console.h"
|
|
#include "ui/egl-helpers.h"
|
|
|
|
QEMUGLContext qemu_egl_create_context(DisplayGLCtx *dgc,
|
|
QEMUGLParams *params);
|
|
void qemu_egl_destroy_context(DisplayGLCtx *dgc, QEMUGLContext ctx);
|
|
int qemu_egl_make_context_current(DisplayGLCtx *dgc,
|
|
QEMUGLContext ctx);
|
|
|
|
#endif /* EGL_CONTEXT_H */
|