summaryrefslogtreecommitdiffstats
path: root/video/out/vo_drm.c
diff options
context:
space:
mode:
authorAnton Kindestam <antonki@kth.se>2018-02-24 18:53:16 +0100
committerKevin Mitchell <kevmitch@gmail.com>2018-02-26 23:56:13 -0800
commitfe23715876282215aa3d7cca26722ada4396d425 (patch)
tree9fa50cadbfc8779bd0107117b2eae00f27760ecd /video/out/vo_drm.c
parent3325c7a912adda0b890315d8a9b8586907f2c73f (diff)
downloadmpv-fe23715876282215aa3d7cca26722ada4396d425.tar.bz2
mpv-fe23715876282215aa3d7cca26722ada4396d425.tar.xz
context_drm_egl: Repair VT switching
The VT switcher was being set up, but it was being neither polled nor interrupted. Insert wait_events and wakeup functions based on those from vo_drm, and add return early in drm_egl_swap_buffers if p->active isn't set. This should get basic VT switching working, however there will likely still be some random glitches. Switching between mpv and X11/weston is unlikely to work satisfactorily until we can solve the problems with drmSetMaster and drmDropMaster.
Diffstat (limited to 'video/out/vo_drm.c')
0 files changed, 0 insertions, 0 deletions