Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | shm: MFD_NOEXEC_SEAL is not defined by musl libc | Daniel Eklöf | 2024-04-30 | 1 | -0/+4 |
| | | | | Closes #11 | ||||
* | shm: try with MFD_NOEXEC_SEAL first, then without | Daniel Eklöf | 2023-10-13 | 1 | -2/+31 |
| | | | | | | | | | | | | | MFD_NOEXEC_SEAL is only supported on kernels 6.3 and later. If we were compiled on linux >= 6.3, but run on linux < 6.3, we'd exit with an error, due to memfd_create() failing with EINVAL. This patch fixes the problem by first trying to call memfd_create() *with* MFD_NOEXEC_SEAL, and if that fails with EINVAL, we try again without it. Also seal the memory FD once mmap() has been called. | ||||
* | shm: fix copy-paste typo in memfd name; this is wbg, not fuzzel | Daniel Eklöf | 2021-04-18 | 1 | -1/+1 |
| | |||||
* | shm: use XRGB8888 instead of ARGB8888 | Daniel Eklöf | 2020-11-30 | 1 | -3/+3 |
| | |||||
* | shm: don’t cache buffers | Daniel Eklöf | 2020-10-06 | 1 | -80/+17 |
| | | | | | | | | wbg typically only renders a buffer once. If we *do* need to re-render, it’s because something changed: the scaling factor, or a new monitor came online etc. Thus, there’s no point in caching buffers; it just uses up memory. | ||||
* | Initial commit | Daniel Eklöf | 2020-08-01 | 1 | -0/+192 |
Can display a single PNG image scaled-to-fit on all outputs. |