Files
Velix-MPV-Core/video/out
Dudemanguy 8a8580e05c wayland: use wl_surface_damage_buffer
Since 2018, wl_surface_damage_buffer has been explicitly preferred and
recommended over wl_surface_damage*. mpv was still using the old
function in a couple of spots. The only difference is that we need to
pass buffer coordinates instead of surface coordinates. In vo_wlshm,
this is done by using vo->dwidth/vo->dheight since that is always used
whenever wl_buffers are created. In the case of the cursor surfaace, we
actually already passed buffer coordinates to it (img->width/height)
which was probablly technically wrong with wl_surface_damage, but it
doesn't really matter in practice. This requires bumping wl_compositor
to version 4 which is no problem since this dates back to 2015*.

https://gitlab.freedesktop.org/wayland/wayland/-/commit/921d0548035673a1bf6aeb9396b9bc728133411e
https://gitlab.freedesktop.org/wayland/wayland/-/commit/3384f69ecf043d62a4e036c0353c2daa01d7c4d0
2022-04-27 20:31:07 +00:00
..
2022-04-25 09:07:18 -04:00
2022-04-25 09:07:18 -04:00
2022-04-25 09:07:18 -04:00
2022-04-25 09:07:18 -04:00
2020-06-03 17:26:44 +02:00
…
2022-04-25 09:07:18 -04:00
…
…
2020-03-05 18:12:57 +01:00
2022-04-25 09:07:18 -04:00
2022-04-25 09:07:18 -04:00
2022-04-24 22:35:54 +00:00
…
2021-08-26 11:29:07 -07:00
2022-04-25 09:07:18 -04:00
2022-02-21 12:01:44 +01:00
2022-04-25 09:07:18 -04:00