summaryrefslogtreecommitdiffstats
path: root/player/sub.c
diff options
context:
space:
mode:
authorDudemanguy <random342@airmail.cc>2021-06-27 10:43:13 -0500
committerDudemanguy <random342@airmail.cc>2021-06-27 10:58:59 -0500
commita02901cae77c86fb9de997a418296d1fc0e3eada (patch)
tree372bc58c179be34c744851e3bff71afbc8edaeb8 /player/sub.c
parent76bddaccd63ee60245881dc188d3e15356f093f1 (diff)
downloadmpv-a02901cae77c86fb9de997a418296d1fc0e3eada.tar.bz2
mpv-a02901cae77c86fb9de997a418296d1fc0e3eada.tar.xz
wayland: fix wl_surface_set_buffer_scale usage
The wl_surface lives for the entire lifetime of the vo. It's only neccesary to set the scale initially and when the output scaling changes (the surface moves to a different output with a different scale or the output itself changes it scale). All of the calls that were being made in the egl/vulkan resize functions are not needed. vo_wlshm wasn't correctly rescaling itself before this commit since it had no logic to handle scale changes. This should all be shared, common code in the surface/output listeners.
Diffstat (limited to 'player/sub.c')
0 files changed, 0 insertions, 0 deletions