summaryrefslogtreecommitdiffstats
path: root/video/out/opengl/egl_helpers.h
blob: 04197493f374b3a3a299d86fa9eb294cbf20664b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#ifndef MP_GL_EGL_HELPERS_H
#define MP_GL_EGL_HELPERS_H

#include <stdbool.h>

#include <EGL/egl.h>
#include <EGL/eglext.h>

struct mp_log;

bool mpegl_create_context(EGLDisplay display, struct mp_log *log, int vo_flags,
                          EGLContext *out_context, EGLConfig *out_config);

#endif