1
0
Fork 0
mirror of https://github.com/gwm17/glfw.git synced 2024-10-07 22:57:25 -04:00
glfw/src
Emmanuel Gil Peyrot 3e884aea46 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.

This codepath will only be used on Linux ≥ 3.17 with glibc ≥ 2.27, and
possibly other kernels and libc.  The former code will continue to be
used as a fallback, either if memfd_create() fails or if it isn’t
available.
2018-10-01 13:13:19 +02:00
..
CMakeLists.txt Add support for Wayland on FreeBSD and other OSes 2018-03-27 22:03:37 +02:00
cocoa_init.m Cleanup 2017-09-17 15:14:22 +02:00
cocoa_joystick.h Add support for SDL_GameControllerDB 2017-07-07 15:52:33 +02:00
cocoa_joystick.m Cocoa: Fix Xcode Warnings 2017-11-20 18:04:05 +01:00
cocoa_monitor.m Add a FreeMonitor platform API 2018-03-01 08:31:54 +01:00
cocoa_platform.h Cleanup 2018-02-07 16:46:58 +01:00
cocoa_time.c Cleanup 2017-03-19 02:46:16 +01:00
cocoa_window.m Fix cursor mode application for unfocused windows 2018-04-25 21:49:26 +02:00
context.c Move more context logic out of glfwCreateWindow 2018-02-06 13:10:41 +01:00
egl_context.c Add GLFW_TRANSPARENT attribute and documentation 2017-09-27 21:54:04 +02:00
egl_context.h Add GLFW_TRANSPARENT and X11 implementation 2017-09-27 21:33:03 +02:00
glfw_config.h.in Wayland: Use memfd_create() and seals if available 2018-10-01 13:13:19 +02:00
glfw3.pc.in Blurb nomenclature fix. 2014-02-10 15:33:41 +01:00
glfw3Config.cmake.in Include imported targets into module config file 2016-02-02 06:00:18 +01:00
glx_context.c Use the _glfw_dlopen/dlsym/dlclose define 2018-01-29 02:26:12 +01:00
glx_context.h Add GLFW_TRANSPARENT and X11 implementation 2017-09-27 21:33:03 +02:00
init.c Cleanup 2018-04-12 03:27:06 +02:00
input.c Fix tpyo 2018-05-18 15:22:48 +02:00
internal.h Add GLFW_SCALE_TO_MONITOR 2018-09-03 23:12:39 +02:00
linux_joystick.c Linux: Add support for kernels < v2.6.39 2018-02-07 16:46:58 +01:00
linux_joystick.h Add support for SDL_GameControllerDB 2017-07-07 15:52:33 +02:00
mappings.h Move to modern mappings database with modifiers 2018-02-13 18:57:56 +01:00
mappings.h.in Remove trailing whitespace 2017-12-14 15:36:55 +01:00
mir_init.c Linux: Update joystick API in version strings 2017-08-09 12:20:51 +02:00
mir_monitor.c Add a FreeMonitor platform API 2018-03-01 08:31:54 +01:00
mir_platform.h Rename thread source files 2017-06-08 16:09:14 +02:00
mir_window.c Add GLFW_HOVERED for polling cursor hover state 2018-01-09 18:02:52 +01:00
monitor.c Add a FreeMonitor platform API 2018-03-01 08:31:54 +01:00
nsgl_context.h Remove internal header inclusion guards 2017-05-25 19:35:13 +02:00
nsgl_context.m Cocoa: Fix SDK version numbers 2018-03-20 01:03:37 +01:00
null_init.c Add internal TLS support 2017-03-19 00:52:46 +01:00
null_joystick.c Fix function signature in null joystick backend 2017-07-13 01:28:02 +02:00
null_joystick.h Add support for SDL_GameControllerDB 2017-07-07 15:52:33 +02:00
null_monitor.c Add a FreeMonitor platform API 2018-03-01 08:31:54 +01:00
null_platform.h Rename thread source files 2017-06-08 16:09:14 +02:00
null_window.c Add GLFW_HOVERED for polling cursor hover state 2018-01-09 18:02:52 +01:00
osmesa_context.c Add library name override macros 2017-09-10 21:02:26 +02:00
osmesa_context.h Cocoa: Fix Xcode Warnings 2017-11-20 18:04:05 +01:00
posix_thread.c Rename thread source files 2017-06-08 16:09:14 +02:00
posix_thread.h Rename thread source files 2017-06-08 16:09:14 +02:00
posix_time.c Cleanup 2017-03-19 02:46:16 +01:00
posix_time.h Remove internal header inclusion guards 2017-05-25 19:35:13 +02:00
vulkan.c Cocoa: Update MoltenVK support for LunarG SDK 2018-03-01 21:45:46 +01:00
wgl_context.c Win32: Clean up DWM detection 2018-08-24 15:06:39 +02:00
wgl_context.h Move context management out of glfwCreateWindow 2018-01-09 17:58:54 +01:00
win32_init.c Win32: Add support for Per-Monitor V2 awareness 2018-09-03 23:12:39 +02:00
win32_joystick.c Fix y-axis sign for XInput thumb sticks 2017-11-14 19:50:59 +01:00
win32_joystick.h Add support for SDL_GameControllerDB 2017-07-07 15:52:33 +02:00
win32_monitor.c Win32: Add support for Per-Monitor V2 awareness 2018-09-03 23:12:39 +02:00
win32_platform.h Win32: Fix symbol definition detection 2018-09-05 22:45:06 +02:00
win32_thread.c Rename thread source files 2017-06-08 16:09:14 +02:00
win32_time.c Cleanup 2017-03-19 02:46:16 +01:00
win32_window.c Add GLFW_SCALE_TO_MONITOR 2018-09-03 23:12:39 +02:00
window.c Add GLFW_SCALE_TO_MONITOR 2018-09-03 23:12:39 +02:00
wl_init.c Wayland: Split long lines for function declaration 2018-09-29 18:11:13 +02:00
wl_monitor.c Wayland: Rename handlers for more unicity 2018-09-29 21:01:03 +02:00
wl_platform.h Wayland: Use HiDPI cursors for standard cursors 2018-09-11 14:28:44 +02:00
wl_window.c Wayland: Use memfd_create() and seals if available 2018-10-01 13:13:19 +02:00
x11_init.c X11: Add support for Cygwin/X sonames 2018-04-25 21:50:51 +02:00
x11_monitor.c Add a FreeMonitor platform API 2018-03-01 08:31:54 +01:00
x11_platform.h Cleanup 2018-02-07 16:46:58 +01:00
x11_window.c Add GLFW_SCALE_TO_MONITOR 2018-09-03 23:12:39 +02:00
xkb_unicode.c Cleanup 2017-05-17 22:26:15 +02:00
xkb_unicode.h Remove internal header inclusion guards 2017-05-25 19:35:13 +02:00