From bf9b9c3bd0d0fe9d9116cbe287559bad5efe00fc Mon Sep 17 00:00:00 2001 From: Alexander Preisinger Date: Thu, 28 Feb 2013 19:55:02 +0100 Subject: 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) --- video/out/vo.h | 1 + 1 file changed, 1 insertion(+) (limited to 'video/out/vo.h') diff --git a/video/out/vo.h b/video/out/vo.h index 50a30f82ea..81cd61b9cc 100644 --- a/video/out/vo.h +++ b/video/out/vo.h @@ -248,6 +248,7 @@ struct vo { struct vo_x11_state *x11; struct vo_w32_state *w32; struct vo_cocoa_state *cocoa; + struct vo_wayland_state *wayland; struct mp_fifo *key_fifo; struct encode_lavc_context *encode_lavc_ctx; struct input_ctx *input_ctx; -- cgit v1.2.3