mirror of
https://github.com/mpv-player/mpv
synced 2024-11-14 22:48:35 +01:00
32cd85bc7e
This is used for dithering, although I'm not aware of anyone who got higher than 8 bit depth support to work on Linux. Also put this into egl_helpers.c. Since EGL is pseudo-portable at best I have no hope that the EGL context creation code in all the backends can be fully shared. But some self-contained functionality can definitely be shared.
11 lines
175 B
C
11 lines
175 B
C
#ifndef MP_GL_EGL_HELPERS_H
|
|
#define MP_GL_EGL_HELPERS_H
|
|
|
|
#include <EGL/egl.h>
|
|
#include <EGL/eglext.h>
|
|
|
|
struct GL;
|
|
void mp_egl_get_depth(struct GL *gl, EGLConfig fbc);
|
|
|
|
#endif
|