summaryrefslogtreecommitdiffstats
path: root/TOOLS
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-12-19 12:45:07 +0100
committerwm4 <wm4@nowhere>2015-12-19 14:14:12 +0100
commit32cd85bc7ecfa74d3fefef5570e4ef546ae0643a (patch)
tree64103ab55f1970476bc212c573f9f8ddb2a364f6 /TOOLS
parent3394d37b4ea6876c0a4484c51ba23e6b8ed08e5a (diff)
downloadmpv-32cd85bc7ecfa74d3fefef5570e4ef546ae0643a.tar.bz2
mpv-32cd85bc7ecfa74d3fefef5570e4ef546ae0643a.tar.xz
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.
Diffstat (limited to 'TOOLS')
-rw-r--r--TOOLS/old-makefile3
1 files changed, 2 insertions, 1 deletions
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