Emmanuel Gil Peyrot
73567ae5be
Wayland: Add xdg-shell to the platform
ago%!(EXTRA string=8 years)
Emmanuel Gil Peyrot
407a3e2860
Load libwayland-cursor at runtime
ago%!(EXTRA string=8 years)
Emmanuel Gil Peyrot
5fbf4ddde8
Load libwayland-egl at runtime
ago%!(EXTRA string=8 years)
Camilla Löwy
ee9dffcd66
Add GLFW_HOVERED for polling cursor hover state
...
This window attribute corresponds to the cursor enter/leave callback.
Fixes #1166 .
ago%!(EXTRA string=8 years)
Camilla Löwy
0e8c4ea7ce
Add lock key modifier bits input mode
...
This adds the GLFW_MOD_CAPS_LOCK and GLFW_MOD_NUM_LOCK modifier bits.
Set the GLFW_LOCK_KEY_MODS input mode to enable these for all callbacks
that receive modifier bits.
Fixes #946 .
ago%!(EXTRA string=8 years)
Emmanuel Gil Peyrot
65166858ff
Wayland: Add support for the idle-inhibit protocol
...
Closes #955 .
ago%!(EXTRA string=8 years)
Emmanuel Gil Peyrot
d18431338a
Wayland: Disable the compose key on old xkbcommon
ago%!(EXTRA string=8 years)
Emmanuel Gil Peyrot
a7a70cf34d
Wayland: Add dynamic loading of libxkbcommon
ago%!(EXTRA string=8 years)
Emmanuel Gil Peyrot
95e282d5a0
Wayland: Add transparency support
...
Closes #788 .
ago%!(EXTRA string=8 years)
Camilla Löwy
a3007b9b0e
Rename thread source files
...
This to reflect that they now contain more than TLS.
ago%!(EXTRA string=8 years)
Camilla Löwy
372e908682
Remove internal header inclusion guards
...
Inclusion of internal headers is already both centralized and follows
strict rules. Inclusion guards are both an unneccessary maintenance
burden and may hide inclusion order bugs.
ago%!(EXTRA string=8 years)
Emmanuel Gil Peyrot
0e0862cfc7
Wayland: Fix broken build
...
Regression caused by e9560ef021
.
ago%!(EXTRA string=9 years)
Camilla Löwy
04f559e28d
Restructure monitor enumeration
...
This way is both kinder on event-based enumeration and less work to
unwind allocations for when properly implementing GLFW_OUT_OF_MEMORY.
ago%!(EXTRA string=9 years)
Emmanuel Gil Peyrot
046d281abc
Wayland: Implement compose key for character input
...
This commit has been copied almost verbatim from Bryce Harrington’s
patch against Weston’s toytoolkit[1]. He gave his agreement to
relicense it under zlib[2].
[1] https://patchwork.freedesktop.org/patch/114661/
[2] https://github.com/glfw/glfw/pull/879#issuecomment-252988257
ago%!(EXTRA string=9 years)
Emmanuel Gil Peyrot
a49601ba87
Wayland: Rename snake_case identifiers to camelCase for consistency
ago%!(EXTRA string=9 years)
Camilla Berglund
e6a32db7b9
Cleanup
ago%!(EXTRA string=9 years)
Camilla Berglund
f17d60da64
Add scancode arrays for Wayland and Mir
...
Related to #830 .
ago%!(EXTRA string=9 years)
Camilla Berglund
53fafad915
Start 3.3
ago%!(EXTRA string=9 years)
Camilla Berglund
9a781cef53
Formatting
ago%!(EXTRA string=9 years)
Camilla Berglund
ef80beab81
Add run-time context creation API selection
...
Fixes #145 .
ago%!(EXTRA string=9 years)
Emmanuel Gil Peyrot
e673bdc617
wayland: Implement maximized state
ago%!(EXTRA string=9 years)
Emmanuel Gil Peyrot
5034c6c65e
wayland: Handle hidden window as no shell surface
ago%!(EXTRA string=9 years)
Jonas Ådahl
cb08dc574c
wayland: Implement 'DISABLED' cursor mode
...
This implements support for the 'DISABLED' cursor mode, which
effectively means locking the pointer to the surface. The cursor is also
explicitly hidden.
This adds two new build dependencies: wayland-scanner and
wayland-protocols.
Closes #708 .
ago%!(EXTRA string=10 years)
Camilla Berglund
9b75bffc88
Add basic Vulkan support
...
Added GLFW_INCLUDE_VULKAN. Added glfwVulkanSupported,
glfwGetRequiredInstanceExtensions, glfwGetInstanceProcAddress,
glfwGetPhysicalDevicePresentationSupport and glfwCreateWindowSurface.
Added port of LunarG SDK tri example.
ago%!(EXTRA string=10 years)
Jonas Ådahl
cf6c11cfaa
wayland: Only set surface buffer scale when supported
...
Although very unlikely, the wl_compositor version might not support
wl_surface.set_buffer_scale while the wl_output emits a wl_output.scale
that is larger than 1. So for correctness, bail on changing the buffer
scale if we won't be able to set it later.
ago%!(EXTRA string=10 years)
Emmanuel Gil Peyrot
06479ba535
Wayland: Implement HiDPI support
...
Windows now keep track of the monitors they are on, so we can calculate
the best scaling factor for them, by using the maximum of each of the
monitors.
The compositor scales down the buffer automatically when it is on a
lower density monitor, instead of the previous way where it was scaling
up the buffer on higher density monitors, which makes the application
look much better on those ones.
ago%!(EXTRA string=10 years)
Camilla Berglund
12b6c56903
Add suffixes to platform specific helper functions
...
Also merge win32_tls.h into win32_platform.h.
ago%!(EXTRA string=10 years)
Camilla Berglund
02fdd6459e
Make EGL backend more readable
ago%!(EXTRA string=10 years)
Camilla Berglund
580c7da559
Make Wayland and Mir backends use key LUTs
ago%!(EXTRA string=10 years)
Ricardo Vieira
e8f3de0f2e
Implement glfwCreateStandardCursor for Wayland
...
Closes #620 .
ago%!(EXTRA string=10 years)
Camilla Berglund
0eccf75f65
Replace GL booleans with public macros
ago%!(EXTRA string=10 years)
Camilla Berglund
95a07f3340
Start 3.2
ago%!(EXTRA string=10 years)
Camilla Berglund
ff67e06844
Added prefixes to header guard macros.
ago%!(EXTRA string=10 years)
Camilla Berglund
38ae319bea
Header inclusion cleanup.
ago%!(EXTRA string=10 years)
Emmanuel Gil Peyrot
e253beaa2b
wayland: Implement glfwGetCursorPos
...
Closes #499 .
ago%!(EXTRA string=10 years)
Camilla Berglund
e059f012d7
Removed unused members.
ago%!(EXTRA string=11 years)
Ricardo Vieira
25204b1ec7
wayland: Support for setting a cursor image
...
Closes #346 .
ago%!(EXTRA string=11 years)
Camilla Berglund
f8d80a936f
Internal header cleanup.
ago%!(EXTRA string=11 years)
Jonas Ådahl
9ac854b7bb
wayland: Add keyboard support
...
Adds libxkbcommon as a dependency when enabling the Wayland backend.
ago%!(EXTRA string=11 years)
Jonas Ådahl
a75cf5a163
wayland: Add basic input support
ago%!(EXTRA string=11 years)
Camilla Berglund
646c1cb8a8
Added inclusion of TLS header to Wayland.
ago%!(EXTRA string=11 years)
Camilla Berglund
1127c0e6e5
Renamed Wayland files to match prefix.
ago%!(EXTRA string=11 years)
Camilla Berglund
7c925353a5
Renamed context module headers.
ago%!(EXTRA string=11 years)
Camilla Berglund
17d9051b82
Separated time state from window system state.
ago%!(EXTRA string=11 years)
Camilla Berglund
7a4623e034
Added cursor stubs to Wayland backend.
ago%!(EXTRA string=11 years)
Camilla Berglund
fce0114174
Renamed POSIX time module.
ago%!(EXTRA string=11 years)
Camilla Berglund
0e4096e201
Removed X11-specific macro from Wayland port.
ago%!(EXTRA string=11 years)
Camilla Berglund
ede7a585bf
Shortened Wayland platform prefix.
ago%!(EXTRA string=11 years)
Camilla Berglund
660034332d
Separated joystick state from window system state.
...
This is partially in preparation for pending support for additional
joystick APIs like XInput, DirectInput and IOHID.
ago%!(EXTRA string=11 years)
Camilla Berglund
22095d12f5
Made Wayland header macro structure match X11.
ago%!(EXTRA string=11 years)