mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
ui: split the GL context in a different object
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>
This commit is contained in:
parent
7cc712e986
commit
5e79d516e8
14 changed files with 119 additions and 76 deletions
|
@ -4,10 +4,10 @@
|
|||
#include "ui/console.h"
|
||||
#include "ui/egl-helpers.h"
|
||||
|
||||
QEMUGLContext qemu_egl_create_context(DisplayChangeListener *dcl,
|
||||
QEMUGLContext qemu_egl_create_context(DisplayGLCtx *dgc,
|
||||
QEMUGLParams *params);
|
||||
void qemu_egl_destroy_context(DisplayChangeListener *dcl, QEMUGLContext ctx);
|
||||
int qemu_egl_make_context_current(DisplayChangeListener *dcl,
|
||||
void qemu_egl_destroy_context(DisplayGLCtx *dgc, QEMUGLContext ctx);
|
||||
int qemu_egl_make_context_current(DisplayGLCtx *dgc,
|
||||
QEMUGLContext ctx);
|
||||
|
||||
#endif /* EGL_CONTEXT_H */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue