summaryrefslogblamecommitdiffstats
path: root/include/ui/egl-context.h
blob: c2761d747a4e9b68029f9531fdb93b8caecf66ed (plain) (tree)
1
2
3
4
5
6
7
8
9
10





                           
                                                        
                                                            

                                                                    
                                                     

                          
#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 */