From 32cd85bc7ecfa74d3fefef5570e4ef546ae0643a Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 19 Dec 2015 12:45:07 +0100 Subject: vo_opengl: x11egl: retrieve framebuffer depth 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. --- TOOLS/old-makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'TOOLS') diff --git a/TOOLS/old-makefile b/TOOLS/old-makefile index f74f6e6fb7..64094b8a57 100644 --- a/TOOLS/old-makefile +++ b/TOOLS/old-makefile @@ -70,7 +70,8 @@ SOURCES-$(ENCODING) += video/out/vo_lavc.c audio/out/ao_lavc.c \ common/encode_lavc.c SOURCES-$(GL_X11) += video/out/x11_common.c video/out/opengl/x11.c -SOURCES-$(EGL_X11) += video/out/x11_common.c video/out/opengl/x11egl.c +SOURCES-$(EGL_X11) += video/out/x11_common.c video/out/opengl/x11egl.c \ + video/out/opengl/egl_helpers.c SOURCES-$(GL_WAYLAND) += video/out/wayland_common.c \ video/out/opengl/wayland.c -- cgit v1.2.3