summaryrefslogtreecommitdiffstats
path: root/wscript_build.py
diff options
context:
space:
mode:
authorEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2016-05-08 18:30:10 +0100
committerwm4 <wm4@nowhere>2016-05-08 19:47:08 +0200
commitf99e48ae6a73129385576d66e7b37965d7862b3b (patch)
treedd0c355f4435a1b6db98d18b149a05f982cc804f /wscript_build.py
parent7d9eab15f00e38a5b4c25d084a904e3a8439807b (diff)
downloadmpv-f99e48ae6a73129385576d66e7b37965d7862b3b.tar.bz2
mpv-f99e48ae6a73129385576d66e7b37965d7862b3b.tar.xz
wayland: use the advertised size in fullscreen
When we receive the wl_shell_surface::configure event, it makes sense to respect the aspect ratio of the video in windowed mode, but in fullscreen it forces compositing and wastes resources (until atomic modesetting is available everywhere and we can stop having desynchronised planes). Weston mitigates a resolution mismatch by creating black surfaces and compositing them around the fullscreen surface, placed at the middle, while GNOME puts it at the top-left and leaves the rest of the desktop composited below, both of them producing a subpar experience. Fixes #3021, #2657.
Diffstat (limited to 'wscript_build.py')
0 files changed, 0 insertions, 0 deletions