Commit Graph
6 Commits
Author SHA1 Message Date
Kovid Goyal 8dfef58f29 Use a glfw specific name for memfd_create 2021-07-20 21:49:11 +05:30
Luflosi 3df80545bd Reduce the difference of GLFW to upstream 2020-10-26 11:02:55 +01:00
Luflosi 0e2a5c63c6 Convert some tabs to spaces 2019-02-02 22:08:32 +01:00
Kovid Goyal 3fe7d91713 Add some needed includes 2018-10-03 11:06:01 +05:30
Kovid Goyal 7750a461aa Fix compilation on systems that dont have the memfd_create syscall 2018-10-03 10:56:47 +05:30
Kovid Goyal ac98b85157 Wayland: Use memfd_create() and seals if available
This allows the compositor to avoid having to setup and teardown a
SIGBUS signal handler whenever it needs to read from this surface, as it
knows we won’t be able to shrink the file and so doesn’t have to protect
against that.

Only enabled on Linux, since only Linux has memfd_create()
2018-10-03 09:47:04 +05:30