2013-06-13 13:07:28 +00:00
|
|
|
# GLFW
|
2013-02-04 09:46:02 +00:00
|
|
|
|
2016-02-04 13:58:44 +00:00
|
|
|
[![Build status](https://travis-ci.org/glfw/glfw.svg?branch=master)](https://travis-ci.org/glfw/glfw)
|
|
|
|
[![Build status](https://ci.appveyor.com/api/projects/status/0kf0ct9831i5l6sp/branch/master?svg=true)](https://ci.appveyor.com/project/elmindreda/glfw)
|
2016-06-23 14:09:55 +00:00
|
|
|
[![Coverity Scan](https://scan.coverity.com/projects/4884/badge.svg)](https://scan.coverity.com/projects/glfw-glfw)
|
2015-04-14 21:47:17 +00:00
|
|
|
|
2013-02-04 09:46:02 +00:00
|
|
|
## Introduction
|
|
|
|
|
2016-08-08 23:34:56 +00:00
|
|
|
GLFW is an Open Source, multi-platform library for OpenGL, OpenGL ES and Vulkan
|
|
|
|
application development. It provides a simple, platform-independent API for
|
|
|
|
creating windows, contexts and surfaces, reading input, handling events, etc.
|
2013-02-04 09:46:02 +00:00
|
|
|
|
2017-01-29 19:10:53 +00:00
|
|
|
GLFW natively supports Windows, macOS and Linux and other Unix-like systems.
|
2018-09-29 14:51:35 +00:00
|
|
|
An experimental implementation for the Wayland protocol is available but not
|
|
|
|
yet officially supported.
|
2017-01-29 19:10:53 +00:00
|
|
|
|
2016-08-17 14:48:22 +00:00
|
|
|
GLFW is licensed under the [zlib/libpng
|
2016-11-14 00:31:53 +00:00
|
|
|
license](http://www.glfw.org/license.html).
|
2016-06-05 17:35:39 +00:00
|
|
|
|
2016-08-17 14:48:22 +00:00
|
|
|
See the [downloads](http://www.glfw.org/download.html) page for details and
|
|
|
|
files, or fetch the `latest` branch, which always points to the latest stable
|
|
|
|
release. Each release starting with 3.0 also has a corresponding [annotated
|
|
|
|
tag](https://github.com/glfw/glfw/releases) with source and binary archives.
|
2016-11-14 00:31:53 +00:00
|
|
|
The [version history](http://www.glfw.org/changelog.html) lists all user-visible
|
|
|
|
changes for every release.
|
2016-08-17 14:48:22 +00:00
|
|
|
|
2019-04-01 16:36:30 +00:00
|
|
|
Documentation is available [here](http://www.glfw.org/docs/latest/). See the
|
|
|
|
[release notes](https://www.glfw.org/docs/latest/news.html) for new features,
|
|
|
|
caveats and deprecations in the latest release.
|
2017-01-29 19:10:53 +00:00
|
|
|
|
|
|
|
The `master` branch is the stable integration branch and _should_ always compile
|
|
|
|
and run on all supported platforms, although details of newly added features may
|
|
|
|
change until they have been included in a release. New features and many bug
|
|
|
|
fixes live in [other branches](https://github.com/glfw/glfw/branches/all) until
|
|
|
|
they are stable enough to merge.
|
2016-08-18 21:42:15 +00:00
|
|
|
|
2013-04-07 11:26:06 +00:00
|
|
|
If you are new to GLFW, you may find the
|
2017-07-11 22:21:17 +00:00
|
|
|
[tutorial](http://www.glfw.org/docs/latest/quick.html) for GLFW 3 useful. If
|
|
|
|
you have used GLFW 2 in the past, there is a [transition
|
|
|
|
guide](http://www.glfw.org/docs/latest/moving.html) for moving to the GLFW
|
|
|
|
3 API.
|
2013-02-04 09:46:02 +00:00
|
|
|
|
|
|
|
|
2013-10-27 11:50:33 +00:00
|
|
|
## Compiling GLFW
|
2013-10-21 20:23:15 +00:00
|
|
|
|
2016-08-08 23:34:56 +00:00
|
|
|
GLFW itself requires only the headers and libraries for your window system. It
|
2017-09-06 02:30:18 +00:00
|
|
|
does not need the headers for any context creation API (WGL, GLX, EGL, NSGL,
|
|
|
|
OSMesa) or rendering API (OpenGL, OpenGL ES, Vulkan) to enable support for them.
|
2016-07-14 16:32:30 +00:00
|
|
|
|
2016-07-14 16:29:39 +00:00
|
|
|
GLFW supports compilation on Windows with Visual C++ 2010 and later, MinGW and
|
2016-10-19 22:50:54 +00:00
|
|
|
MinGW-w64, on macOS with Clang and on Linux and other Unix-like systems with GCC
|
2016-07-14 16:29:39 +00:00
|
|
|
and Clang. It will likely compile in other environments as well, but this is
|
|
|
|
not regularly tested.
|
2013-02-04 09:46:02 +00:00
|
|
|
|
2017-07-11 22:21:17 +00:00
|
|
|
There are [pre-compiled Windows binaries](http://www.glfw.org/download.html)
|
|
|
|
available for all supported compilers.
|
2013-02-04 09:46:02 +00:00
|
|
|
|
2017-01-29 19:10:53 +00:00
|
|
|
See the [compilation guide](http://www.glfw.org/docs/latest/compile.html) for
|
2017-07-11 22:21:17 +00:00
|
|
|
more information about how to compile GLFW yourself.
|
2013-02-04 09:46:02 +00:00
|
|
|
|
2016-07-14 16:02:44 +00:00
|
|
|
|
2016-07-14 16:11:17 +00:00
|
|
|
## Using GLFW
|
2016-07-14 16:02:44 +00:00
|
|
|
|
2017-01-29 19:10:53 +00:00
|
|
|
See the [documentation](http://www.glfw.org/docs/latest/) for tutorials, guides
|
|
|
|
and the API reference.
|
|
|
|
|
|
|
|
|
|
|
|
## Contributing to GLFW
|
|
|
|
|
|
|
|
See the [contribution
|
2017-11-20 17:55:43 +00:00
|
|
|
guide](https://github.com/glfw/glfw/blob/master/docs/CONTRIBUTING.md) for
|
2017-01-29 19:10:53 +00:00
|
|
|
more information.
|
2016-07-14 16:02:44 +00:00
|
|
|
|
|
|
|
|
2016-07-14 16:11:17 +00:00
|
|
|
## System requirements
|
2016-07-14 16:02:44 +00:00
|
|
|
|
2019-01-03 18:32:45 +00:00
|
|
|
GLFW supports Windows XP and later and macOS 10.8 and later. Linux and other
|
2017-01-29 19:10:53 +00:00
|
|
|
Unix-like systems running the X Window System are supported even without
|
|
|
|
a desktop environment or modern extensions, although some features require
|
|
|
|
a running window or clipboard manager. The OSMesa backend requires Mesa 6.3.
|
2016-07-14 16:02:44 +00:00
|
|
|
|
|
|
|
See the [compatibility guide](http://www.glfw.org/docs/latest/compat.html)
|
2016-07-14 16:19:46 +00:00
|
|
|
in the documentation for more information.
|
2016-07-14 16:02:44 +00:00
|
|
|
|
|
|
|
|
2014-01-12 04:40:36 +00:00
|
|
|
## Dependencies
|
|
|
|
|
2016-08-08 23:34:56 +00:00
|
|
|
GLFW itself depends only on the headers and libraries for your window system.
|
|
|
|
|
2017-06-09 14:32:24 +00:00
|
|
|
The (experimental) Wayland backend also depends on the `extra-cmake-modules`
|
|
|
|
package, which is used to generated Wayland protocol headers.
|
|
|
|
|
2016-02-08 15:23:44 +00:00
|
|
|
The examples and test programs depend on a number of tiny libraries. These are
|
|
|
|
located in the `deps/` directory.
|
2014-01-12 04:40:36 +00:00
|
|
|
|
2014-06-18 14:13:49 +00:00
|
|
|
- [getopt\_port](https://github.com/kimgr/getopt_port/) for examples
|
|
|
|
with command-line options
|
2014-10-15 01:55:25 +00:00
|
|
|
- [TinyCThread](https://github.com/tinycthread/tinycthread) for threaded
|
2014-06-18 14:13:49 +00:00
|
|
|
examples
|
2019-04-14 15:34:38 +00:00
|
|
|
- [glad2](https://github.com/Dav1dde/glad) for loading OpenGL and Vulkan
|
|
|
|
functions
|
2015-08-09 14:58:25 +00:00
|
|
|
- [linmath.h](https://github.com/datenwolf/linmath.h) for linear algebra in
|
|
|
|
examples
|
2016-09-25 12:08:33 +00:00
|
|
|
- [Nuklear](https://github.com/vurtun/nuklear) for test and example UI
|
2016-10-13 15:42:44 +00:00
|
|
|
- [stb\_image\_write](https://github.com/nothings/stb) for writing images to disk
|
2015-08-10 18:19:04 +00:00
|
|
|
|
2017-07-11 22:21:17 +00:00
|
|
|
The documentation is generated with [Doxygen](http://doxygen.org/) if CMake can
|
|
|
|
find that tool.
|
2016-02-08 15:23:44 +00:00
|
|
|
|
2014-01-12 04:40:36 +00:00
|
|
|
|
2016-07-14 16:32:30 +00:00
|
|
|
## Reporting bugs
|
|
|
|
|
|
|
|
Bugs are reported to our [issue tracker](https://github.com/glfw/glfw/issues).
|
|
|
|
Please check the [contribution
|
2017-11-20 17:55:43 +00:00
|
|
|
guide](https://github.com/glfw/glfw/blob/master/docs/CONTRIBUTING.md) for
|
2016-07-14 16:32:30 +00:00
|
|
|
information on what to include when reporting a bug.
|
|
|
|
|
|
|
|
|
2013-06-13 13:09:10 +00:00
|
|
|
## Changelog
|
2013-02-04 09:46:02 +00:00
|
|
|
|
2017-05-25 16:23:09 +00:00
|
|
|
- Added `glfwGetError` function for querying the last error code and its
|
|
|
|
description (#970)
|
2017-06-18 13:13:25 +00:00
|
|
|
- Added `glfwUpdateGamepadMappings` function for importing gamepad mappings in
|
|
|
|
SDL\_GameControllerDB format (#900)
|
|
|
|
- Added `glfwJoystickIsGamepad` function for querying whether a joystick has
|
|
|
|
a gamepad mapping (#900)
|
2017-07-23 14:34:11 +00:00
|
|
|
- Added `glfwGetJoystickGUID` function for querying the SDL compatible GUID of
|
|
|
|
a joystick (#900)
|
2017-06-18 13:13:25 +00:00
|
|
|
- Added `glfwGetGamepadName` function for querying the name provided by the
|
|
|
|
gamepad mapping (#900)
|
|
|
|
- Added `glfwGetGamepadState` function, `GLFW_GAMEPAD_*` and `GLFWgamepadstate`
|
|
|
|
for retrieving gamepad input state (#900)
|
2017-12-11 20:26:40 +00:00
|
|
|
- Added `glfwGetWindowContentScale`, `glfwGetMonitorContentScale` and
|
|
|
|
`glfwSetWindowContentScaleCallback` for DPI-aware rendering
|
|
|
|
(#235,#439,#677,#845,#898)
|
2017-05-11 12:36:56 +00:00
|
|
|
- Added `glfwRequestWindowAttention` function for requesting attention from the
|
|
|
|
user (#732,#988)
|
2019-02-25 13:46:48 +00:00
|
|
|
- Added `glfwGetMonitorWorkarea` function for retrieving the monitor work area
|
|
|
|
(#920,#989,#1322)
|
2016-09-14 15:41:06 +00:00
|
|
|
- Added `glfwGetKeyScancode` function that allows retrieving platform dependent
|
|
|
|
scancodes for keys (#830)
|
2016-06-16 11:09:28 +00:00
|
|
|
- Added `glfwSetWindowMaximizeCallback` and `GLFWwindowmaximizefun` for
|
|
|
|
receiving window maximization events (#778)
|
2016-09-29 23:52:22 +00:00
|
|
|
- Added `glfwSetWindowAttrib` function for changing window attributes (#537)
|
2017-03-01 22:27:20 +00:00
|
|
|
- Added `glfwGetJoystickHats` function for querying joystick hats
|
|
|
|
(#889,#906,#934)
|
2017-12-12 09:54:18 +00:00
|
|
|
- Added `glfwInitHint` for setting initialization hints
|
|
|
|
- Added `glfwWindowHintString` for setting string type window hints (#893,#1139)
|
2017-11-16 10:02:16 +00:00
|
|
|
- Added `glfwGetWindowOpacity` and `glfwSetWindowOpacity` for controlling whole
|
|
|
|
window transparency (#1089)
|
2017-12-07 15:19:57 +00:00
|
|
|
- Added `glfwSetMonitorUserPointer` and `glfwGetMonitorUserPointer` for
|
|
|
|
per-monitor user pointers
|
|
|
|
- Added `glfwSetJoystickUserPointer` and `glfwGetJoystickUserPointer` for
|
|
|
|
per-joystick user pointers
|
2017-08-13 16:11:35 +00:00
|
|
|
- Added `glfwGetX11SelectionString` and `glfwSetX11SelectionString`
|
|
|
|
functions for accessing X11 primary selection (#894,#1056)
|
2019-02-11 18:10:20 +00:00
|
|
|
- Added `glfwRawMouseMotionSupported` function for querying raw motion support
|
|
|
|
(#125,#1400,#1401)
|
2017-02-07 05:39:09 +00:00
|
|
|
- Added headless [OSMesa](http://mesa3d.org/osmesa.html) backend (#850)
|
2016-11-08 11:39:18 +00:00
|
|
|
- Added definition of `GLAPIENTRY` to public header
|
2017-09-25 21:14:45 +00:00
|
|
|
- Added `GLFW_TRANSPARENT_FRAMEBUFFER` window hint and attribute for controlling
|
|
|
|
per-pixel framebuffer transparency (#197,#663,#715,#723,#1078)
|
2018-01-04 12:50:58 +00:00
|
|
|
- Added `GLFW_HOVERED` window attribute for polling cursor hover state (#1166)
|
2017-02-06 14:03:50 +00:00
|
|
|
- Added `GLFW_CENTER_CURSOR` window hint for controlling cursor centering
|
|
|
|
(#749,#842)
|
2018-05-29 13:51:36 +00:00
|
|
|
- Added `GLFW_FOCUS_ON_SHOW` window hint and attribute to control input focus
|
|
|
|
on calling show window (#1189)
|
2018-09-26 16:09:18 +00:00
|
|
|
- Added `GLFW_SCALE_TO_MONITOR` window hint for automatic window resizing
|
|
|
|
(#676,#1115)
|
2017-03-01 22:27:20 +00:00
|
|
|
- Added `GLFW_JOYSTICK_HAT_BUTTONS` init hint (#889)
|
2017-11-29 19:42:37 +00:00
|
|
|
- Added `GLFW_LOCK_KEY_MODS` input mode and `GLFW_MOD_*_LOCK` mod bits (#946)
|
2019-02-11 18:10:20 +00:00
|
|
|
- Added `GLFW_RAW_MOUSE_MOTION` input mode for selecting raw motion input
|
|
|
|
(#125,#1400,#1401)
|
2016-12-06 23:41:54 +00:00
|
|
|
- Added macOS specific `GLFW_COCOA_RETINA_FRAMEBUFFER` window hint
|
2017-12-12 15:45:38 +00:00
|
|
|
- Added macOS specific `GLFW_COCOA_FRAME_NAME` window hint (#195)
|
2017-01-27 11:02:09 +00:00
|
|
|
- Added macOS specific `GLFW_COCOA_GRAPHICS_SWITCHING` window hint (#377,#935)
|
2017-02-14 14:43:31 +00:00
|
|
|
- Added macOS specific `GLFW_COCOA_CHDIR_RESOURCES` init hint
|
|
|
|
- Added macOS specific `GLFW_COCOA_MENUBAR` init hint
|
2017-12-12 09:54:18 +00:00
|
|
|
- Added X11 specific `GLFW_X11_CLASS_NAME` and `GLFW_X11_INSTANCE_NAME` window
|
|
|
|
hints (#893,#1139)
|
2017-01-02 04:58:41 +00:00
|
|
|
- Added `GLFW_INCLUDE_ES32` for including the OpenGL ES 3.2 header
|
2017-02-28 18:23:25 +00:00
|
|
|
- Added `GLFW_OSMESA_CONTEXT_API` for creating OpenGL contexts with
|
|
|
|
[OSMesa](https://www.mesa3d.org/osmesa.html) (#281)
|
2017-09-14 18:16:25 +00:00
|
|
|
- Added `GenerateMappings.cmake` script for updating gamepad mappings
|
2018-01-30 18:25:17 +00:00
|
|
|
- Made `glfwCreateWindowSurface` emit an error when the window has a context
|
|
|
|
(#1194,#1205)
|
2017-11-04 20:11:58 +00:00
|
|
|
- Deprecated window parameter of clipboard string functions
|
2017-11-29 20:03:38 +00:00
|
|
|
- Deprecated charmods callback
|
2016-12-06 23:41:54 +00:00
|
|
|
- Removed `GLFW_USE_RETINA` compile-time option
|
2017-02-14 14:43:31 +00:00
|
|
|
- Removed `GLFW_USE_CHDIR` compile-time option
|
|
|
|
- Removed `GLFW_USE_MENUBAR` compile-time option
|
2019-01-15 18:28:17 +00:00
|
|
|
- Removed requirement of at least one window for `glfwWaitEvents` and
|
|
|
|
`glfwPostEmptyEvent` (#1317)
|
2019-04-14 15:34:38 +00:00
|
|
|
- Removed all dependencies on the Vulkan SDK
|
2016-06-16 10:52:22 +00:00
|
|
|
- Bugfix: Calling `glfwMaximizeWindow` on a full screen window was not ignored
|
2016-09-14 19:13:33 +00:00
|
|
|
- Bugfix: `GLFW_INCLUDE_VULKAN` could not be combined with the corresponding
|
|
|
|
OpenGL and OpenGL ES header macros
|
2016-11-01 18:24:36 +00:00
|
|
|
- Bugfix: `glfwGetInstanceProcAddress` returned `NULL` for
|
|
|
|
`vkGetInstanceProcAddr` when `_GLFW_VULKAN_STATIC` was enabled
|
2017-01-08 14:51:37 +00:00
|
|
|
- Bugfix: Invalid library paths were used in test and example CMake files (#930)
|
2017-01-29 15:18:58 +00:00
|
|
|
- Bugfix: The scancode for synthetic key release events was always zero
|
2017-09-24 15:04:47 +00:00
|
|
|
- Bugfix: The generated Doxyfile did not handle paths with spaces (#1081)
|
2018-12-17 16:40:18 +00:00
|
|
|
- Bugfix: The gamma ramp generated by `glfwSetGamma` did not use the monitor
|
|
|
|
ramp size (#1387,#1388)
|
2017-01-19 19:29:27 +00:00
|
|
|
- [Win32] Added system error strings to relevant GLFW error descriptions (#733)
|
2017-08-03 00:11:32 +00:00
|
|
|
- [Win32] Removed XInput circular deadzone from joystick axis data (#1045)
|
2016-09-14 11:05:13 +00:00
|
|
|
- [Win32] Bugfix: Undecorated windows could not be iconified by the user (#861)
|
2016-12-19 04:38:33 +00:00
|
|
|
- [Win32] Bugfix: Deadzone logic could underflow with some controllers (#910)
|
2017-02-07 19:08:14 +00:00
|
|
|
- [Win32] Bugfix: `glfwVulkanSupported` emitted an error on systems with
|
|
|
|
a loader but no ICD (#916)
|
2017-02-09 20:21:58 +00:00
|
|
|
- [Win32] Bugfix: Non-iconified full sreeen windows did not prevent screen
|
|
|
|
blanking or password enabled screensavers (#851)
|
2017-02-26 16:23:56 +00:00
|
|
|
- [Win32] Bugfix: Mouse capture logic lost secondary release messages (#954)
|
2017-03-14 17:40:41 +00:00
|
|
|
- [Win32] Bugfix: Monitors with no display devices were not enumerated (#960)
|
2017-03-14 18:21:52 +00:00
|
|
|
- [Win32] Bugfix: Monitor events were not emitted (#784)
|
2019-04-01 16:36:30 +00:00
|
|
|
- [Win32] Bugfix: The DLL was installed to the wrong directory on Cygwin (#1035)
|
2017-08-04 00:05:08 +00:00
|
|
|
- [Win32] Bugfix: Normalization of axis data via XInput was incorrect (#1045)
|
2017-08-21 12:37:38 +00:00
|
|
|
- [Win32] Bugfix: `glfw3native.h` would undefine a foreign `APIENTRY` (#1062)
|
2017-09-08 14:15:57 +00:00
|
|
|
- [Win32] Bugfix: Disabled cursor mode prevented use of caption buttons
|
|
|
|
(#650,#1071)
|
2017-02-07 02:29:57 +00:00
|
|
|
- [Win32] Bugfix: Returned key names did not match other platforms (#943)
|
2017-10-31 14:47:01 +00:00
|
|
|
- [Win32] Bugfix: Undecorated windows did not maximize to workarea (#899)
|
2017-11-16 10:03:05 +00:00
|
|
|
- [Win32] Bugfix: Window was resized twice when entering full screen (#1085)
|
2018-01-05 07:13:33 +00:00
|
|
|
- [Win32] Bugfix: The HID device notification was not unregistered (#1170)
|
2018-01-09 10:11:58 +00:00
|
|
|
- [Win32] Bugfix: `glfwCreateWindow` activated window even with `GLFW_FOCUSED`
|
2018-01-09 19:31:31 +00:00
|
|
|
hint set to false (#1179,#1180)
|
2018-08-24 13:05:42 +00:00
|
|
|
- [Win32] Bugfix: The keypad equals key was reported as `GLFW_KEY_UNKNOWN`
|
|
|
|
(#1315,#1316)
|
2018-12-26 14:18:36 +00:00
|
|
|
- [Win32] Bugfix: A title bar would be drawn over undecorated windows in some
|
|
|
|
circumstances (#1383)
|
2019-02-13 22:21:05 +00:00
|
|
|
- [Win32] Bugfix: Standard cursors were not per-monitor DPI aware (#1431)
|
2016-12-10 22:41:19 +00:00
|
|
|
- [X11] Replaced `_GLFW_HAS_XF86VM` compile-time option with dynamic loading
|
2017-01-16 16:44:31 +00:00
|
|
|
- [X11] Bugfix: `glfwGetVideoMode` would segfault on Cygwin/X
|
2017-02-06 20:27:56 +00:00
|
|
|
- [X11] Bugfix: Dynamic X11 library loading did not use full sonames (#941)
|
2017-02-23 02:26:55 +00:00
|
|
|
- [X11] Bugfix: Window creation on 64-bit would read past top of stack (#951)
|
2017-03-16 22:07:59 +00:00
|
|
|
- [X11] Bugfix: XDND support had multiple non-conformance issues (#968)
|
2017-03-19 04:30:27 +00:00
|
|
|
- [X11] Bugfix: The RandR monitor path was disabled despite working RandR (#972)
|
2017-03-26 23:19:41 +00:00
|
|
|
- [X11] Bugfix: IM-duplicated key events would leak at low polling rates (#747)
|
2017-04-05 15:53:00 +00:00
|
|
|
- [X11] Bugfix: Gamma ramp setting via RandR did not validate ramp size
|
2017-05-17 20:12:47 +00:00
|
|
|
- [X11] Bugfix: Key name string encoding depended on current locale (#981,#983)
|
2017-08-07 21:23:37 +00:00
|
|
|
- [X11] Bugfix: Incremental reading of selections was not supported (#275)
|
2017-08-08 12:04:51 +00:00
|
|
|
- [X11] Bugfix: Selection I/O reported but did not support `COMPOUND_TEXT`
|
2017-08-08 14:25:13 +00:00
|
|
|
- [X11] Bugfix: Latin-1 text read from selections was not converted to UTF-8
|
2017-11-27 14:54:33 +00:00
|
|
|
- [X11] Bugfix: NVidia EGL would segfault if unloaded before closing the display
|
2018-10-13 05:54:50 +00:00
|
|
|
- [X11] Bugfix: Checking window maximized attrib could crash some WMs (#1356)
|
2018-11-03 13:20:16 +00:00
|
|
|
- [X11] Bugfix: Update cursor position on enter event (#1366)
|
2019-01-01 17:24:11 +00:00
|
|
|
- [X11] Bugfix: `glfwSetWindowMonitor` did not update hints when resizing
|
|
|
|
non-user-resizable windows
|
2019-01-01 17:32:45 +00:00
|
|
|
- [X11] Bugfix: `glfwSetWindowMonitor` did not flush output buffer in some cases
|
2019-01-30 23:02:16 +00:00
|
|
|
- [X11] Bugfix: `glfwSetWindowMonitor` did not update the EWMH state of hidden
|
|
|
|
windows (#1358)
|
2018-01-27 13:43:06 +00:00
|
|
|
- [Linux] Added workaround for missing `SYN_DROPPED` in pre-2.6.39 kernel
|
|
|
|
headers (#1196)
|
2017-06-15 15:13:23 +00:00
|
|
|
- [Linux] Moved to evdev for joystick input (#906,#1005)
|
2017-01-30 23:17:08 +00:00
|
|
|
- [Linux] Bugfix: Event processing did not detect joystick disconnection (#932)
|
2017-06-08 17:23:06 +00:00
|
|
|
- [Linux] Bugfix: The joystick device path could be truncated (#1025)
|
2017-08-09 10:04:38 +00:00
|
|
|
- [Linux] Bugfix: `glfwInit` would fail if inotify creation failed (#833)
|
2017-08-09 14:15:59 +00:00
|
|
|
- [Linux] Bugfix: `strdup` was used without any required feature macro (#1055)
|
2017-01-02 17:17:40 +00:00
|
|
|
- [Cocoa] Added support for Vulkan window surface creation via
|
|
|
|
[MoltenVK](https://moltengl.com/moltenvk/) (#870)
|
2017-03-01 03:09:51 +00:00
|
|
|
- [Cocoa] Added support for loading a `MainMenu.nib` when available
|
2019-01-17 23:41:47 +00:00
|
|
|
- [Cocoa] Disabled automatic window tabbing for created windows (#1250)
|
2016-10-10 16:09:05 +00:00
|
|
|
- [Cocoa] Bugfix: Disabling window aspect ratio would assert (#852)
|
2016-10-16 11:59:21 +00:00
|
|
|
- [Cocoa] Bugfix: Window creation failed to set first responder (#876,#883)
|
2016-11-15 19:39:39 +00:00
|
|
|
- [Cocoa] Bugfix: Removed use of deprecated `CGDisplayIOServicePort` function
|
|
|
|
(#165,#192,#508,#511)
|
2016-11-16 03:01:36 +00:00
|
|
|
- [Cocoa] Bugfix: Disabled use of deprecated `CGDisplayModeCopyPixelEncoding`
|
|
|
|
function on macOS 10.12+
|
2016-12-03 20:02:14 +00:00
|
|
|
- [Cocoa] Bugfix: Running in AppSandbox would emit warnings (#816,#882)
|
2017-01-01 18:59:09 +00:00
|
|
|
- [Cocoa] Bugfix: Windows created after the first were not cascaded (#195)
|
2017-03-14 20:21:29 +00:00
|
|
|
- [Cocoa] Bugfix: Leaving video mode with `glfwSetWindowMonitor` would set
|
|
|
|
incorrect position and size (#748)
|
2017-03-15 00:19:54 +00:00
|
|
|
- [Cocoa] Bugfix: Iconified full screen windows could not be restored (#848)
|
2017-03-23 14:54:34 +00:00
|
|
|
- [Cocoa] Bugfix: Value range was ignored for joystick hats and buttons (#888)
|
2017-03-27 16:40:04 +00:00
|
|
|
- [Cocoa] Bugfix: Full screen framebuffer was incorrectly sized for some video
|
|
|
|
modes (#682)
|
2017-08-06 21:04:19 +00:00
|
|
|
- [Cocoa] Bugfix: A string object for IME was updated non-idiomatically (#1050)
|
2017-08-22 18:40:07 +00:00
|
|
|
- [Cocoa] Bugfix: A hidden or disabled cursor would become visible when a user
|
|
|
|
notification was shown (#971,#1028)
|
2017-08-23 16:24:29 +00:00
|
|
|
- [Cocoa] Bugfix: Some characters did not repeat due to Press and Hold (#1010)
|
2017-09-28 16:44:04 +00:00
|
|
|
- [Cocoa] Bugfix: Window title was lost when full screen or undecorated (#1082)
|
2017-11-16 09:42:01 +00:00
|
|
|
- [Cocoa] Bugfix: Window was resized twice when entering full screen (#1085)
|
2017-11-16 10:34:42 +00:00
|
|
|
- [Cocoa] Bugfix: Duplicate size events were not filtered (#1085)
|
2018-03-01 01:23:27 +00:00
|
|
|
- [Cocoa] Bugfix: Event polling did not initialize AppKit if necessary (#1218)
|
2019-04-01 16:36:30 +00:00
|
|
|
- [Cocoa] Bugfix: OpenGL rendering was not visible before resize on early macOS
|
|
|
|
10.14 (#1334,#1346)
|
2018-12-25 19:59:51 +00:00
|
|
|
- [Cocoa] Bugfix: Caps Lock did not generate any key events (#1368,#1373)
|
2019-01-30 23:44:10 +00:00
|
|
|
- [Cocoa] Bugfix: Some buttons for some joysticks were ignored (#1385)
|
2019-01-31 00:54:06 +00:00
|
|
|
- [Cocoa] Bugfix: Analog joystick buttons were not translated correctly (#1385)
|
2019-02-27 18:50:43 +00:00
|
|
|
- [Cocoa] Bugfix: OpenGL swap interval was ignored for occluded windows (#680)
|
2019-04-01 16:36:30 +00:00
|
|
|
- [Cocoa] Bugfix: OpenGL swap interval was ignored on early macOS 10.14
|
2019-02-27 18:50:43 +00:00
|
|
|
(#1337,#1417,#1435)
|
2019-04-10 19:19:40 +00:00
|
|
|
- [Cocoa] Bugfix: The y-coordinate was incorrect for `glfwGetCursorPos` and
|
|
|
|
`glfwSetCursorPos` (#1461)
|
2017-05-10 15:24:40 +00:00
|
|
|
- [WGL] Added support for `WGL_EXT_colorspace` for OpenGL ES contexts
|
2017-06-08 13:20:24 +00:00
|
|
|
- [WGL] Added support for `WGL_ARB_create_context_no_error`
|
2017-06-08 13:23:04 +00:00
|
|
|
- [GLX] Added support for `GLX_ARB_create_context_no_error`
|
2017-07-07 08:23:58 +00:00
|
|
|
- [GLX] Bugfix: Context creation could segfault if no GLXFBConfigs were
|
|
|
|
available (#1040)
|
2016-09-28 23:06:40 +00:00
|
|
|
- [EGL] Added support for `EGL_KHR_get_all_proc_addresses` (#871)
|
2017-03-15 16:37:33 +00:00
|
|
|
- [EGL] Added support for `EGL_KHR_context_flush_control`
|
2017-01-02 15:01:20 +00:00
|
|
|
- [EGL] Bugfix: The test for `EGL_RGB_BUFFER` was invalid
|
2016-06-16 10:52:22 +00:00
|
|
|
|
2013-02-04 09:46:02 +00:00
|
|
|
|
|
|
|
## Contact
|
|
|
|
|
2016-08-02 13:58:58 +00:00
|
|
|
On [glfw.org](http://www.glfw.org/) you can find the latest version of GLFW, as
|
|
|
|
well as news, documentation and other information about the project.
|
2013-02-04 09:46:02 +00:00
|
|
|
|
|
|
|
If you have questions related to the use of GLFW, we have a
|
2016-08-17 14:48:22 +00:00
|
|
|
[forum](http://discourse.glfw.org/), and the `#glfw` IRC channel on
|
|
|
|
[Freenode](http://freenode.net/).
|
2013-02-04 09:46:02 +00:00
|
|
|
|
|
|
|
If you have a bug to report, a patch to submit or a feature you'd like to
|
2013-06-24 12:28:42 +00:00
|
|
|
request, please file it in the
|
|
|
|
[issue tracker](https://github.com/glfw/glfw/issues) on GitHub.
|
2013-02-04 09:46:02 +00:00
|
|
|
|
|
|
|
Finally, if you're interested in helping out with the development of GLFW or
|
2016-08-17 14:48:22 +00:00
|
|
|
porting it to your favorite platform, join us on the forum, GitHub or IRC.
|
2013-02-04 09:46:02 +00:00
|
|
|
|
|
|
|
|
|
|
|
## Acknowledgements
|
|
|
|
|
|
|
|
GLFW exists because people around the world donated their time and lent their
|
|
|
|
skills.
|
|
|
|
|
2013-06-09 10:49:13 +00:00
|
|
|
- Bobyshev Alexander
|
|
|
|
- Matt Arsenault
|
2017-08-23 13:04:09 +00:00
|
|
|
- David Avedissian
|
2013-06-09 10:49:13 +00:00
|
|
|
- Keith Bauer
|
|
|
|
- John Bartholomew
|
2018-08-09 16:17:40 +00:00
|
|
|
- Coşku Baş
|
2013-06-16 10:35:46 +00:00
|
|
|
- Niklas Behrens
|
2018-12-25 19:52:58 +00:00
|
|
|
- Andrew Belt
|
2013-06-09 10:49:13 +00:00
|
|
|
- Niklas Bergström
|
2017-05-17 20:12:47 +00:00
|
|
|
- Denis Bernard
|
2013-08-16 15:48:11 +00:00
|
|
|
- Doug Binks
|
2013-06-09 10:49:13 +00:00
|
|
|
- blanco
|
2016-09-28 21:47:22 +00:00
|
|
|
- Kyle Brenneman
|
2017-08-23 13:04:09 +00:00
|
|
|
- Rok Breulj
|
2014-08-10 14:35:09 +00:00
|
|
|
- Martin Capitanio
|
2017-07-03 12:25:47 +00:00
|
|
|
- David Carlier
|
2017-08-23 13:04:09 +00:00
|
|
|
- Arturo Castro
|
2015-04-09 14:09:39 +00:00
|
|
|
- Chi-kwan Chan
|
2017-08-23 13:04:09 +00:00
|
|
|
- Ian Clarkson
|
2017-07-12 23:35:15 +00:00
|
|
|
- Michał Cichoń
|
2013-06-09 10:49:13 +00:00
|
|
|
- Lambert Clara
|
2019-04-15 23:05:57 +00:00
|
|
|
- Anna Clarke
|
2017-08-23 13:04:09 +00:00
|
|
|
- Yaron Cohen-Tal
|
|
|
|
- Omar Cornut
|
2013-10-06 09:37:16 +00:00
|
|
|
- Andrew Corrigan
|
2017-09-18 16:10:57 +00:00
|
|
|
- Bailey Cosier
|
2013-06-09 10:49:13 +00:00
|
|
|
- Noel Cower
|
2016-10-13 15:24:51 +00:00
|
|
|
- Jason Daly
|
2013-06-09 10:49:13 +00:00
|
|
|
- Jarrod Davis
|
|
|
|
- Olivier Delannoy
|
|
|
|
- Paul R. Deppe
|
2014-02-13 23:45:27 +00:00
|
|
|
- Michael Dickens
|
2015-10-28 21:57:57 +00:00
|
|
|
- Роман Донченко
|
2015-11-13 16:19:20 +00:00
|
|
|
- Mario Dorn
|
2017-09-18 16:10:57 +00:00
|
|
|
- Wolfgang Draxinger
|
2013-06-09 10:49:13 +00:00
|
|
|
- Jonathan Dummer
|
|
|
|
- Ralph Eastwood
|
2017-08-23 13:04:09 +00:00
|
|
|
- Fredrik Ehnbom
|
|
|
|
- Robin Eklind
|
2015-03-17 15:33:21 +00:00
|
|
|
- Siavash Eliasi
|
2017-05-11 12:36:56 +00:00
|
|
|
- Felipe Ferreira
|
2013-12-10 12:45:21 +00:00
|
|
|
- Michael Fogleman
|
2013-12-11 13:41:51 +00:00
|
|
|
- Gerald Franz
|
2016-10-10 16:09:05 +00:00
|
|
|
- Mário Freitas
|
2013-06-09 10:49:13 +00:00
|
|
|
- GeO4d
|
|
|
|
- Marcus Geelnard
|
2017-12-18 14:47:34 +00:00
|
|
|
- Stephen Gowen
|
|
|
|
- Kovid Goyal
|
2014-09-09 21:15:52 +00:00
|
|
|
- Eloi Marín Gratacós
|
2013-06-09 10:49:13 +00:00
|
|
|
- Stefan Gustavson
|
2017-08-23 13:04:09 +00:00
|
|
|
- Jonathan Hale
|
2013-06-09 10:49:13 +00:00
|
|
|
- Sylvain Hellegouarch
|
2014-03-10 15:50:20 +00:00
|
|
|
- Matthew Henry
|
2013-06-09 10:49:13 +00:00
|
|
|
- heromyth
|
2014-09-21 00:13:41 +00:00
|
|
|
- Lucas Hinderberger
|
2013-06-16 16:32:16 +00:00
|
|
|
- Paul Holden
|
2016-07-22 15:39:39 +00:00
|
|
|
- Warren Hu
|
2016-03-29 12:00:44 +00:00
|
|
|
- IntellectualKitty
|
2015-06-26 11:31:37 +00:00
|
|
|
- Aaron Jacobs
|
2016-08-10 14:22:03 +00:00
|
|
|
- Erik S. V. Jansson
|
2013-06-09 10:49:13 +00:00
|
|
|
- Toni Jovanoski
|
2014-05-02 05:39:21 +00:00
|
|
|
- Arseny Kapoulkine
|
2017-09-18 16:10:57 +00:00
|
|
|
- Cem Karan
|
2013-06-09 10:49:13 +00:00
|
|
|
- Osman Keskin
|
2017-08-23 13:04:09 +00:00
|
|
|
- Josh Kilmer
|
2013-06-09 10:49:13 +00:00
|
|
|
- Cameron King
|
|
|
|
- Peter Knut
|
2015-08-10 18:19:04 +00:00
|
|
|
- Christoph Kubisch
|
2017-08-23 13:04:09 +00:00
|
|
|
- Yuri Kunde Schlesner
|
2017-01-27 11:02:09 +00:00
|
|
|
- Konstantin Käfer
|
2015-04-14 19:15:50 +00:00
|
|
|
- Eric Larson
|
2013-06-09 10:49:13 +00:00
|
|
|
- Robin Leffmann
|
|
|
|
- Glenn Lewis
|
|
|
|
- Shane Liesegang
|
2015-08-14 11:49:52 +00:00
|
|
|
- Eyal Lotem
|
2018-12-26 14:19:02 +00:00
|
|
|
- Aaron Loucks
|
2013-06-09 10:49:13 +00:00
|
|
|
- Tristam MacDonald
|
|
|
|
- Hans Mackowiak
|
2017-08-23 13:04:09 +00:00
|
|
|
- Дмитри Малышев
|
2016-02-01 23:04:15 +00:00
|
|
|
- Zbigniew Mandziejewicz
|
2019-02-27 18:50:43 +00:00
|
|
|
- Adam Marcus
|
2017-08-23 13:04:09 +00:00
|
|
|
- Célestin Marot
|
2013-06-16 16:40:10 +00:00
|
|
|
- Kyle McDonald
|
2013-06-09 10:49:13 +00:00
|
|
|
- David Medlock
|
2015-02-23 04:14:24 +00:00
|
|
|
- Bryce Mehring
|
2013-06-09 10:49:13 +00:00
|
|
|
- Jonathan Mercier
|
|
|
|
- Marcel Metz
|
2017-02-06 14:03:50 +00:00
|
|
|
- Liam Middlebrook
|
2015-01-23 21:53:41 +00:00
|
|
|
- Jonathan Miller
|
2013-06-09 10:49:13 +00:00
|
|
|
- Kenneth Miller
|
2013-07-01 11:18:05 +00:00
|
|
|
- Bruce Mitchener
|
2013-10-28 12:22:34 +00:00
|
|
|
- Jack Moffitt
|
2013-06-09 10:49:13 +00:00
|
|
|
- Jeff Molofee
|
2018-12-26 13:59:31 +00:00
|
|
|
- Alexander Monakov
|
2017-08-23 13:04:09 +00:00
|
|
|
- Pierre Morel
|
2013-06-09 10:49:13 +00:00
|
|
|
- Jon Morton
|
2013-09-13 12:41:13 +00:00
|
|
|
- Pierre Moulon
|
2017-08-23 13:04:09 +00:00
|
|
|
- Martins Mozeiko
|
2013-06-09 10:49:13 +00:00
|
|
|
- Julian Møller
|
2017-08-23 13:04:09 +00:00
|
|
|
- ndogxj
|
2017-08-13 16:11:35 +00:00
|
|
|
- Kristian Nielsen
|
2013-11-13 11:59:49 +00:00
|
|
|
- Kamil Nowakowski
|
2017-08-23 13:04:09 +00:00
|
|
|
- Denis Ovod
|
2013-06-17 09:58:46 +00:00
|
|
|
- Ozzy
|
2013-10-09 17:03:47 +00:00
|
|
|
- Andri Pálsson
|
2013-06-09 10:49:13 +00:00
|
|
|
- Peoro
|
|
|
|
- Braden Pellett
|
2017-09-18 16:10:57 +00:00
|
|
|
- Christopher Pelloux
|
2013-06-09 10:49:13 +00:00
|
|
|
- Arturo J. Pérez
|
2017-06-15 15:13:23 +00:00
|
|
|
- Anthony Pesch
|
2016-03-07 13:55:30 +00:00
|
|
|
- Orson Peters
|
2015-04-19 11:27:27 +00:00
|
|
|
- Emmanuel Gil Peyrot
|
2014-11-27 14:39:24 +00:00
|
|
|
- Cyril Pichard
|
2017-08-23 13:04:09 +00:00
|
|
|
- Keith Pitt
|
|
|
|
- Stanislav Podgorskiy
|
2019-02-11 18:10:20 +00:00
|
|
|
- Nathan Poirier
|
2017-08-23 13:04:09 +00:00
|
|
|
- Alexandre Pretyman
|
2018-01-05 07:13:33 +00:00
|
|
|
- przemekmirek
|
2016-08-04 22:23:16 +00:00
|
|
|
- Philip Rideout
|
2017-08-23 13:04:09 +00:00
|
|
|
- Eddie Ringle
|
2019-02-13 22:21:05 +00:00
|
|
|
- Max Risuhin
|
2013-06-09 10:49:13 +00:00
|
|
|
- Jorge Rodriguez
|
|
|
|
- Ed Ropple
|
2015-01-23 17:38:12 +00:00
|
|
|
- Aleksey Rybalkin
|
2013-06-09 10:49:13 +00:00
|
|
|
- Riku Salminen
|
2014-11-06 22:57:53 +00:00
|
|
|
- Brandon Schaefer
|
2013-06-09 10:49:13 +00:00
|
|
|
- Sebastian Schuberth
|
2017-08-23 13:04:09 +00:00
|
|
|
- Christian Sdunek
|
2013-06-09 10:49:13 +00:00
|
|
|
- Matt Sealey
|
|
|
|
- Steve Sexton
|
2017-08-23 13:04:09 +00:00
|
|
|
- Arkady Shapkin
|
2016-02-26 09:46:49 +00:00
|
|
|
- Yoshiki Shibukawa
|
2013-06-09 10:49:13 +00:00
|
|
|
- Dmitri Shuralyov
|
|
|
|
- Daniel Skorupski
|
|
|
|
- Bradley Smith
|
2019-04-01 16:23:21 +00:00
|
|
|
- Cliff Smolinsky
|
2016-08-08 14:58:41 +00:00
|
|
|
- Patrick Snape
|
2017-08-23 13:04:09 +00:00
|
|
|
- Erlend Sogge Heggen
|
2013-06-09 10:49:13 +00:00
|
|
|
- Julian Squires
|
|
|
|
- Johannes Stein
|
2017-08-23 13:04:09 +00:00
|
|
|
- Pontus Stenetorp
|
2016-09-06 13:40:31 +00:00
|
|
|
- Michael Stocker
|
2013-06-17 15:42:22 +00:00
|
|
|
- Justin Stoecker
|
2015-04-09 12:03:26 +00:00
|
|
|
- Elviss Strazdins
|
2017-08-23 13:04:09 +00:00
|
|
|
- Paul Sultana
|
2013-06-09 10:49:13 +00:00
|
|
|
- Nathan Sweet
|
|
|
|
- TTK-Bandit
|
|
|
|
- Sergey Tikhomirov
|
2016-07-14 10:49:46 +00:00
|
|
|
- Arthur Tombs
|
2016-03-07 13:55:30 +00:00
|
|
|
- Ioannis Tsakpinis
|
2013-06-09 10:49:13 +00:00
|
|
|
- Samuli Tuomola
|
2016-12-19 04:38:33 +00:00
|
|
|
- Matthew Turner
|
2013-10-07 13:30:57 +00:00
|
|
|
- urraka
|
2016-08-22 14:12:04 +00:00
|
|
|
- Elias Vanderstuyft
|
2017-08-23 13:04:09 +00:00
|
|
|
- Stef Velzel
|
2013-06-09 10:49:13 +00:00
|
|
|
- Jari Vetoniemi
|
2014-07-01 08:49:50 +00:00
|
|
|
- Ricardo Vieira
|
2016-02-01 23:06:56 +00:00
|
|
|
- Nicholas Vitovitch
|
2013-06-09 10:49:13 +00:00
|
|
|
- Simon Voordouw
|
2018-01-30 18:25:17 +00:00
|
|
|
- Corentin Wallez
|
2013-06-09 10:49:13 +00:00
|
|
|
- Torsten Walluhn
|
2014-10-21 05:41:58 +00:00
|
|
|
- Patrick Walton
|
2015-07-27 01:40:54 +00:00
|
|
|
- Xo Wang
|
2013-06-09 10:49:13 +00:00
|
|
|
- Jay Weisskopf
|
|
|
|
- Frank Wille
|
2017-05-27 06:00:05 +00:00
|
|
|
- Ryogo Yoshimura
|
2017-08-18 11:02:35 +00:00
|
|
|
- Andrey Zholos
|
2013-06-09 10:49:13 +00:00
|
|
|
- Santi Zupancic
|
2014-03-18 20:43:24 +00:00
|
|
|
- Jonas Ådahl
|
2013-06-09 10:49:13 +00:00
|
|
|
- Lasse Öörni
|
|
|
|
- All the unmentioned and anonymous contributors in the GLFW community, for bug
|
2013-02-04 09:46:02 +00:00
|
|
|
reports, patches, feedback, testing and encouragement
|
|
|
|
|