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