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. --- wscript_build.py | 1 + 1 file changed, 1 insertion(+) (limited to 'wscript_build.py') diff --git a/wscript_build.py b/wscript_build.py index ab2df805e2..e72da41056 100644 --- a/wscript_build.py +++ b/wscript_build.py @@ -313,6 +313,7 @@ def build(ctx): ( "video/out/filter_kernels.c" ), ( "video/out/opengl/cocoa.c", "gl-cocoa" ), ( "video/out/opengl/common.c", "gl" ), + ( "video/out/opengl/egl_helpers.c", "egl-helpers" ), ( "video/out/opengl/rpi.c", "rpi" ), ( "video/out/opengl/hwdec.c", "gl" ), ( "video/out/opengl/hwdec_dxva2.c", "gl-win32" ), -- cgit v1.2.3