mirror of https://github.com/mpv-player/mpv
d9c5aef98d
Abstract out EGL, and allow choosing between EGL and vulkan at runtime. vf_gpu_egl.c contains GL specific context and creation/destroy code, vf_gpu_vulkan.c contains Vulkan specific. This allows vf_gpu being built in systems where EGL is not available and where Vulkan is available. |
||
---|---|---|
.. | ||
common.h | ||
context.c | ||
context.h | ||
context_android.c | ||
context_display.c | ||
context_mac.m | ||
context_wayland.c | ||
context_win.c | ||
context_xlib.c | ||
utils.c | ||
utils.h |