gstreamer/ext/wayland
Emmanuel Gil Peyrot f97b718b4c waylandsink: Use memfd_create() when available
This (so-far) Linux- and FreeBSD-only API lets users create file
descriptors purely in memory, without any backing file on the filesystem
and the race condition which could ensue when unlink()ing it.

It also allows seals to be placed on the file, ensuring to every other
process that we won’t be allowed to shrink the contents, potentially
causing a SIGBUS when they try reading it.

This patch is best viewed with the -w option of git log -p.

It is an almost exact copy of Wayland commit
6908c8c85a2e33e5654f64a55cd4f847bf385cae, see
https://gitlab.freedesktop.org/wayland/wayland/merge_requests/4

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1577>
2020-09-15 19:17:12 +00:00
..
gstwaylandsink.c waylandsink: Keep per display wayland buffer caches 2020-07-15 14:35:06 +00:00
gstwaylandsink.h waylandsink: support fullscreen 2018-05-06 15:13:59 +02:00
meson.build ext/wayland: Define libdrm_dep in meson.build 2019-08-20 14:56:48 +00:00
wlbuffer.c waylandsink: Update stale GstBuffer references in wayland buffer cache 2020-07-28 11:35:53 +00:00
wlbuffer.h waylandsink: Update stale GstBuffer references in wayland buffer cache 2020-07-28 11:35:53 +00:00
wldisplay.c waylandsink: use GstMemory instead of GstBuffer for cache lookup 2020-07-15 14:35:06 +00:00
wldisplay.h waylandsink: use GstMemory instead of GstBuffer for cache lookup 2020-07-15 14:35:06 +00:00
wllinuxdmabuf.c waylandsink: fix memory offset calculation for dmabuf buffers 2017-03-14 17:07:40 +02:00
wllinuxdmabuf.h waylandsink: support linux dmabuf protocol 2016-11-03 15:37:46 -04:00
wlshmallocator.c waylandsink: Use memfd_create() when available 2020-09-15 19:17:12 +00:00
wlshmallocator.h
wlvideoformat.c wlvideoformat: fix typo in the format list 2020-06-28 18:55:02 +02:00
wlvideoformat.h wayland: include drm_fourcc.h properly and fix build 2016-11-04 09:21:59 +00:00
wlwindow.c waylandsink: Clear window when pipeline is stopped 2020-01-28 13:22:36 +01:00
wlwindow.h waylandsink: Wait for the surface to be configured 2019-04-03 18:20:58 +00:00