mutter/src
Pascal Nowack ab3931fec8 backends/screen-cast-stream-src: Set correct stride when using dmabufs
Currently, mutter hardcodes the stride of all recorded images in a
screencast to width * 4.
While this stride is valid for general memory buffers, it is not
necessarily valid for dmabuf buffers, as the driver may need a specific
alignment of the stride.
This can currently result into import failures, e.g. when using the AMD
driver.

To fix this issue, retrieve the actual dmabuf stride, when using dmabuf
screencasts, and set it as the stride value in the PipeWire buffer.

Fixes: https://gitlab.gnome.org/GNOME/mutter/-/issues/1913
Fixes: https://gitlab.gnome.org/GNOME/gnome-remote-desktop/-/issues/101
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2513>
2022-07-14 20:09:07 +02:00
..
backends backends/screen-cast-stream-src: Set correct stride when using dmabufs 2022-07-14 20:09:07 +02:00
compositor window-actor/wayland: Skip unnecessary set_child_at_index() calls 2022-07-11 17:23:10 +00:00
core window: Close window when unsetting transient_for 2022-07-08 21:00:13 +00:00
meta backends: Move MetaKeyboardA11yFlags to a public header 2022-06-14 18:04:05 +02:00
tests tests/stage-view: Give outer container an explicit size 2022-07-06 18:57:12 +00:00
ui window: Move icon management to X11 implementation 2022-02-07 17:52:05 +00:00
wayland wayland/dma-buf: Don't require modifiers support for scanout tranche 2022-07-12 18:53:30 +03:00
x11 x11: Let X11 connection owners call XSynchronize() themselves 2022-06-03 13:43:26 +00:00
libmutter.pc.in
meson.build tests: Add basic X11 WM test 2022-06-02 17:19:42 +00:00
meta-private-enum-types.c.in core: Drop "volatile" from static GTypes in manual registration 2021-03-22 10:47:51 +00:00
meta-private-enum-types.h.in screen-cast: Add screen cast flag to streams 2020-07-30 09:51:16 +02:00