summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorAlexander Preisinger <alexander.preisinger@gmail.com>2013-02-28 19:55:02 +0100
committerAlexander Preisinger <alexander.preisinger@gmail.com>2013-02-28 20:01:33 +0100
commitbf9b9c3bd0d0fe9d9116cbe287559bad5efe00fc (patch)
tree94b1ee6efdf220a5d671528726e46f10e258d5d2 /Makefile
parentf143eec611356acd9e694a1bf8dfcdf5b729a685 (diff)
downloadmpv-bf9b9c3bd0d0fe9d9116cbe287559bad5efe00fc.tar.bz2
mpv-bf9b9c3bd0d0fe9d9116cbe287559bad5efe00fc.tar.xz
wayland: add wayland support
All wayland only specific routines are placed in wayland_common. This makes it easier to write other video outputs. The EGL specific parts, as well as opengl context creation, are in gl_common. This backend works for: * opengl-old * opengl * opengl-hq To use it just specify the opengl backend --vo=opengl:backend=wayland or disable the x11 build. Don't forget to set EGL_PLATFORM to wayland. Co-Author: Scott Moreau (Sorry I lost the old commit history due to the file structure changes)
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 91eda102b6..21c9f74bbb 100644
--- a/Makefile
+++ b/Makefile
@@ -99,6 +99,7 @@ SOURCES-$(ENCODING) += video/out/vo_lavc.c audio/out/ao_lavc.c \
core/encode_lavc.c
SOURCES-$(GL_WIN32) += video/out/w32_common.c
SOURCES-$(GL_X11) += video/out/x11_common.c
+SOURCES-$(GL_WAYLAND) += video/out/wayland_common.c
SOURCES-$(JACK) += audio/out/ao_jack.c
SOURCES-$(JOYSTICK) += core/input/joystick.c