diff options
author | Anton Kindestam <antonki@kth.se> | 2018-07-01 09:12:52 +0200 |
---|---|---|
committer | Jan Ekström <jeebjp@gmail.com> | 2018-09-30 14:22:49 +0300 |
commit | 810acf32d6cf0dfbad66c602689ef1218fc0a6e3 (patch) | |
tree | 01246af1dba582f684380ee2760c1e90fb63f13f /audio | |
parent | f277f9f6d2fe36110aa55b5d606154c629694c7b (diff) | |
download | mpv-810acf32d6cf0dfbad66c602689ef1218fc0a6e3.tar.bz2 mpv-810acf32d6cf0dfbad66c602689ef1218fc0a6e3.tar.xz |
drm_atomic: Allow to create atomic context w/o drmprime video plane
This is to improve the experience when running with default settings
on a driver that doesn't have any overlay planes (or indeed only one
plane), but still supports DRM atomic. Since the drmprime video plane
is set to pick an overlay plane by default it would fail on these
drivers due to not being able to create any atomic context. Users with
such cards had to specify --drm-video-plane-id manually to some bogus
value (it's not used after all).
The "video" plane is only ever used by the drmprime-drm hwdec interop,
which is not used at all in the typical usecase where everything is
actually rendered on to the "OSD" plane using EGL, so having an atomic
context without the "video" plane should be fine most of the time.
Diffstat (limited to 'audio')
0 files changed, 0 insertions, 0 deletions