Camilla Löwy
213dd2d0d6
Add glfwInitHintString
...
Adds string type init hints. Adds X11 specific init hints for WM_CLASS
components. Documentation work.
Fixes #893 .
ago%!(EXTRA string=8 years)
Camilla Löwy
82284b86eb
Cleanup
...
Thanks to glfwGetKeyScancode we can now pass only a scancode to the
platform layer for glfwGetKeyName.
ago%!(EXTRA string=8 years)
Camilla Löwy
617c42b20a
Cleanup
ago%!(EXTRA string=8 years)
Camilla Löwy
953106e74d
Add support for SDL_GameControllerDB
...
This adds support for importing and applying mappings from the
SDL_GameControllerDB database.
Related to #900 .
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
14a3fe0ac0
Make glfwGetError also provide description
...
Related to #970 .
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)
Camilla Löwy
baa9cd8968
Cleanup
...
Closes #988 .
ago%!(EXTRA string=8 years)
Felipe Ferreira da Silva
412eb6a611
Add glfwRequestWindowAttention
...
Related to #988 .
ago%!(EXTRA string=8 years)
Camilla Löwy
6350641f0a
Add glfwGetError
...
Related to #970 .
If you have opinions on the design or implementation of this function,
please come join us in #970 before it is frozen for release.
ago%!(EXTRA string=8 years)
Camilla Löwy
1982543cd2
Cleanup
ago%!(EXTRA string=8 years)
Camilla Löwy
aaf2800c9c
Add internal TLS support
...
Related to #970 .
ago%!(EXTRA string=8 years)
Camilla Löwy
798d7c6d68
Implement glfwGetJoystickHats
...
This moves the buttons-as-hats logic to shared code and adds the
GLFW_JOYSTICK_HAT_BUTTONS input mode as a way to disable this legacy
behavior.
Fixes #889 .
ago%!(EXTRA string=8 years)
Camilla Löwy
6d9a58bfef
Add glfwInitHint
...
This allows setting hints that control how the library is initialized,
transforming more compile-time options into run-time ones.
ago%!(EXTRA string=8 years)
Camilla Löwy
071a049f07
Documentation work
...
[ci skip]
ago%!(EXTRA string=8 years)
Camilla Löwy
e019f7e7f2
Remove misleading platform API documentation
...
[ci skip]
ago%!(EXTRA string=8 years)
Camilla Löwy
53f46d32e2
Make OSMesa backend an almost proper null backend
...
It still depends on POSIX time and TLS.
ago%!(EXTRA string=8 years)
Camilla Löwy
e9560ef021
Add GLFW_OSMESA_CONTEXT_API
...
This allows the creation of OpenGL contexts via OSMesa on existing
platforms. It does not add a compile- or link-time dependency on
OSMesa.
Fixes #281 .
ago%!(EXTRA string=8 years)
Camilla Löwy
77a8f103d8
Add GLFW_COCOA_GRAPHICS_SWICTHING
...
This provides control over whether the context should participate in
macOS Automatic Graphics Switching.
Closes #377 .
Closes #935 .
ago%!(EXTRA string=8 years)
Camilla Löwy
21eabd3938
Documentation work
ago%!(EXTRA string=8 years)
Camilla Löwy
926d2beddb
Move initialized flag into library struct
ago%!(EXTRA string=8 years)
Liam Middlebrook
72ac5badb0
Add GLFW_CENTER_CURSOR
...
Adds a hint for controlling whether the cursor is centered over newly
created full screen windows.
Fixes #749 .
Closes #842 .
ago%!(EXTRA string=8 years)
Camilla Löwy
bfd564f257
Move internals to shared joystick objects
...
Preparation for gamecontrollerdb support and the gamepad API.
ago%!(EXTRA string=8 years)
Camilla Löwy
221451b817
Cleanup
ago%!(EXTRA string=8 years)
Camilla Löwy
48a795c101
Merge single-use function _glfwFreeMonitors
...
All other uses were elminiated by _glfwInputMonitor.
ago%!(EXTRA string=8 years)
Camilla Löwy
3edaa5280d
Add GLFW_INCLUDE_ES32
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)
Camilla Löwy
4661315192
Add GLFW_COCOA_FRAME_AUTOSAVE
...
Fixes #195 .
ago%!(EXTRA string=9 years)
Camilla Löwy
58ceab5f1e
Add GLFW_COCOA_RETINA_FRAMEBUFFER
...
Look, a can of worms! I wonder what's inside.
This adds the first platform specific window hint, transforming
a compile-time option to a run-time per-window one.
ago%!(EXTRA string=9 years)
Camilla Löwy
744cee6ec9
Cleanup
ago%!(EXTRA string=9 years)
Camilla Löwy
9e56099edd
Add glfwSetWindowAttrib
...
This function allows updating the GLFW_DECORATED, GLFW_RESIZABLE,
GLFW_FLOATING and GLFW_AUTO_ICONIFY attributes for existing windows.
Fixes #537 .
ago%!(EXTRA string=9 years)
Camilla Löwy
f4d0c83181
Paperwork done
ago%!(EXTRA string=9 years)
Camilla Berglund
fef21361c5
OSMesa: Cleanup
...
Fixes formatting, semantics and documentation. Adds
glfwGetOSMesaContext. Adds support for OSMesa context attributes.
Updates changelog and credits. Adds license and copyright headers.
Removes superfluous code (the shared code provides many conveniences).
Removes loading of unused OSMesa functions. Removes empty platform
structs. Fixes version string format. Removes build dependency on
the OSMesa header and library (only the library is needed and only at
runtime).
Closes #850 .
ago%!(EXTRA string=9 years)
Jason Daly
368fa9475d
Add headless OSMesa backend
...
Allows creation and drawing to in-memory OpenGL contexts.
This backend does not provide input.
Related to #850 .
ago%!(EXTRA string=9 years)
Camilla Berglund
e94d16667b
Cocoa: Add basic support for Vulkan via MoltenVK
...
This adds basic support for MoltenVK, a Vulkan implementation on top of
Metal, on macOS 10.11 and later. It looks for MoltenVK in the process
via RTLD_DEFAULT symbol lookup if _GLFW_VULKAN_STATIC is disabled.
glfwCreateWindowSurface now creates and sets a CAMetalLayer for the
window content view, which is required for MoltenVK to function.
You must help CMake find MoltenVK for the Vulkan test to be built.
Fixes #870 .
ago%!(EXTRA string=9 years)
Camilla Berglund
fef25ea934
Emit all Vulkan init errors from init function
ago%!(EXTRA string=9 years)
Camilla Berglund
efc6b35615
Rename joystick ID variables
ago%!(EXTRA string=9 years)
Camilla Berglund
c156b50e4c
Add glfwSetWindowMaximizeCallback
...
Fixes #778 .
ago%!(EXTRA string=9 years)
Camilla Berglund
54930ddd33
Check only for relevant Vulkan extensions
...
Related to #858 .
ago%!(EXTRA string=9 years)
Camilla Berglund
bb3cb8f233
Cleanup
...
Clean up code and documentation for glfwGetKeyScancode and add
implementation for Wayland and Mir.
Related to #830 .
ago%!(EXTRA string=9 years)
Michael Stocker
e745b0dd47
Add glfwGetKeyScancode
...
Allows retrieval of platform scancode from GLFW_KEY_*. Implemented for
Win32, Cocoa and X11. Stubs for Mir and Wayland.
Closes #830 .
ago%!(EXTRA string=9 years)
Camilla Berglund
5ff7d9505f
Simplify Vulkan extension checks
...
Related to #478 .
ago%!(EXTRA string=9 years)
Camilla Berglund
53fafad915
Start 3.3
ago%!(EXTRA string=9 years)
Camilla Berglund
1d3240ff9c
Fix Vulkan header macro not breaking compilation
...
Fixes #823 .
ago%!(EXTRA string=9 years)
Camilla Berglund
7c3706763a
Cleanup
...
Cleanup of 8bdb105897
.
Add build macro to configuration header and documentation. Add
corresponding CMake option. Add change log entry and credit. Add
loader static library to link dependencies and add detection to
FindVulkan.cmake.
ago%!(EXTRA string=9 years)
Philip Rideout
8bdb105897
Add _GLFW_VULKAN_STATIC build macro
...
This allows clients to link GLFW with a staticly-built loader library.
This is useful in hermetic build systems that build the Khronos loader
from source, rather than depending on the LunarG SDK binaries.
Closes #820 .
ago%!(EXTRA string=9 years)
Camilla Berglund
614debd13f
Initialize Vulkan API on demand
ago%!(EXTRA string=9 years)
Camilla Berglund
9a781cef53
Formatting
ago%!(EXTRA string=9 years)
Camilla Berglund
757eea2779
Update email address
ago%!(EXTRA string=9 years)
Camilla Berglund
6a8e169001
Update copyright notice year
ago%!(EXTRA string=9 years)