mirror of
https://github.com/mpv-player/mpv
synced 2024-12-29 10:32:15 +00:00
a02901cae7
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. |
||
---|---|---|
.. | ||
common.h | ||
context_android.c | ||
context_display.c | ||
context_wayland.c | ||
context_win.c | ||
context_xlib.c | ||
context.c | ||
context.h | ||
utils.c | ||
utils.h |