summaryrefslogtreecommitdiff
path: root/include/ui/egl-context.h
blob: 9374fe41e32bbbff59d9b349a7ced8c0ee5fb057 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#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);

#endif /* EGL_CONTEXT_H */