diff options
Diffstat (limited to 'video/out/opengl/egl_helpers.h')
-rw-r--r-- | video/out/opengl/egl_helpers.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/video/out/opengl/egl_helpers.h b/video/out/opengl/egl_helpers.h index 04197493f3..15033834f4 100644 --- a/video/out/opengl/egl_helpers.h +++ b/video/out/opengl/egl_helpers.h @@ -11,4 +11,13 @@ struct mp_log; bool mpegl_create_context(EGLDisplay display, struct mp_log *log, int vo_flags, EGLContext *out_context, EGLConfig *out_config); +struct mpegl_opts { + // combination of VOFLAG_* values. + int vo_flags; +}; + +bool mpegl_create_context_opts(EGLDisplay display, struct mp_log *log, + struct mpegl_opts *opts, + EGLContext *out_context, EGLConfig *out_config); + #endif |