mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
3bbd091bb4
From the spec: > This request is used to describe the regions where the pending > buffer is different from the current surface contents We currently also call `wl_surface_damage()` on surfaces without new or still compositor-hold buffers, e.g. when resizing the window. In that case we call it on `area_surface_wrapper`, even though it gets resized via `wp_viewport_set_destination()`, in which case the compositor is in charge of repainting the area on screen. Doing so is currently not forbidden by the spec, however it might be in the future, see https://gitlab.freedesktop.org/wayland/wayland/-/issues/267 Thus lets stay close to the spec and only call `wl_surface_damage()` when we just attached a buffer. Right now this prevents runtime assertions in Mutter. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1446> |
||
---|---|---|
.. | ||
gstwaylandsink.c | ||
gstwaylandsink.h | ||
meson.build | ||
wlbuffer.c | ||
wlbuffer.h | ||
wldisplay.c | ||
wldisplay.h | ||
wllinuxdmabuf.c | ||
wllinuxdmabuf.h | ||
wlshmallocator.c | ||
wlshmallocator.h | ||
wlvideoformat.c | ||
wlvideoformat.h | ||
wlwindow.c | ||
wlwindow.h |