softbuffer/src
John Nunley c0e8723081
x11: Use POSIX shared memory in X11 backend
The X11 backend used System-V shared memory to communicate shared
buffers to the server, but rustix does not support SysV SHM so we had to
use libc in this backend. However, there is an alternate X11 API which
uses POSIX shared memory, which rustix does support. This PR switches
the X11 backend to POSIX shared memory and purges the previous
usages of libc.

The goal is to remove libc totally. Therefore this PR also removes the
default libc dependency from rustix.

Signed-off-by: John Nunley <dev@notgull.net>
2023-10-17 19:15:15 -07:00
..
wayland Use rustix/libc instead of nix 2023-10-13 15:54:32 -07:00
cg.rs cg: Require non-zero width/height; panic instead of segfault 2023-07-24 18:24:23 -07:00
error.rs bugfix: Reintroduce Error trait impl for SoftBufferError 2023-07-12 18:43:49 -07:00
kms.rs x11: Use POSIX shared memory in X11 backend 2023-10-17 19:15:15 -07:00
lib.rs docs: present_with_damage is supported on web platform 2023-10-13 08:32:21 -07:00
orbital.rs orbital: Use syscall::MAP_SHARED for mapping 2023-08-16 18:59:40 -07:00
util.rs fix(web): optimize and fix present_with_damage (#150) 2023-09-09 17:30:38 +02:00
web.rs fix(web): optimize and fix present_with_damage (#150) 2023-09-09 17:30:38 +02:00
win32.rs bugfix: Mark fetch as unsupported on Windows for now 2023-08-10 19:28:04 -07:00
x11.rs x11: Use POSIX shared memory in X11 backend 2023-10-17 19:15:15 -07:00