gstreamer/subprojects/gst-plugins-bad/gst-libs/gst/wayland
Damian Hobson-Garcia dd8ef3ec1b waylandsink: Move buffer commits to the display thread
Syncrhonizing buffer commits to the streaming thread can lead to
dropped frames when frame callbacks are not processed before the
next frame is ready for rendering.  Depending on the drift between
the wayland compositor and buffer source timings, this can lead to
periods of significant frame drop, especially when the media frame
rate is close to the display frame rate.

Cache buffers in the streaming thread and peform commits on the
display thread to eliminate the buffer commit racing.

The implementation is the same for both waylandsink and gtkwaylandsink,
so move it to the common wayland library under gst-lib.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6133>
2024-02-27 17:20:42 +00:00
..
gstwl_fwd.h gstwayland: Move reusable parts of the waylandsink into a library 2022-06-06 14:36:39 +02:00
gstwlbuffer.c wayland: Add API to ref/unref current GstBuffer inside a GstWlBuffer 2024-02-27 17:20:42 +00:00
gstwlbuffer.h wayland: Add API to ref/unref current GstBuffer inside a GstWlBuffer 2024-02-27 17:20:42 +00:00
gstwlcontext.c gst-plugins-bad: re-indent with GNU indent 2.2.12 2023-03-17 03:18:54 +00:00
gstwlcontext.h gstwayland: Move reusable parts of the waylandsink into a library 2022-06-06 14:36:39 +02:00
gstwldisplay.c wayland: Add synchronized requests to WlDisplay 2024-02-27 17:20:42 +00:00
gstwldisplay.h wayland: Add synchronized requests to WlDisplay 2024-02-27 17:20:42 +00:00
gstwllinuxdmabuf.c waylandsink: Improve DMA DRM integration 2023-08-01 14:55:23 -04:00
gstwllinuxdmabuf.h waylandsink: Improve DMA DRM integration 2023-08-01 14:55:23 -04:00
gstwlshmallocator.c GstShmAllocator: New shared memory allocator 2023-11-03 18:22:00 +00:00
gstwlshmallocator.h GstShmAllocator: New shared memory allocator 2023-11-03 18:22:00 +00:00
gstwlvideobufferpool.c wlvideobufferpool: Add DRM Dumb buffer support 2023-03-14 21:50:57 +00:00
gstwlvideobufferpool.h wlvideobufferpool: Add DRM Dumb buffer support 2023-03-14 21:50:57 +00:00
gstwlvideoformat.c waylandsink: fix incorrect RGB and BGR mapping about GST DRM and WL_SHM 2023-11-11 14:41:18 +00:00
gstwlvideoformat.h video-format: Fix up video formats ordering by quality 2023-10-02 09:39:21 +03:00
gstwlwindow.c waylandsink: Move buffer commits to the display thread 2024-02-27 17:20:42 +00:00
gstwlwindow.h waylandsink: Move buffer commits to the display thread 2024-02-27 17:20:42 +00:00
meson.build wayland: Actually use wayland-protocols version dep 2024-01-23 13:11:23 +00:00
wayland-prelude.h gstwayland: Move reusable parts of the waylandsink into a library 2022-06-06 14:36:39 +02:00
wayland.h gstwayland: Move reusable parts of the waylandsink into a library 2022-06-06 14:36:39 +02:00