sink: Add support for DMABuf import and graphics offload
A quick port of GNOME/gtk!6618 (merged). Initial testing suggests that it can significantly increase performance in cases where texture copies otherwise become a bottleneck.
Currently requires:
- GTK4 from
main
- Gst from
main
- https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5890 (only for V4L2-stateless decoding, i.e. on ARM devices)
Additional notes:
- There are some known glitches, see GNOME/gtk#6499 (closed)
Closes #5 (closed)
Edited by Robert Mader