2013-06-13 09:07:28 -04:00
|
|
|
# GLFW
|
2013-02-04 04:46:02 -05:00
|
|
|
|
|
|
|
## Introduction
|
|
|
|
|
|
|
|
GLFW is a free, Open Source, portable library for OpenGL and OpenGL ES
|
|
|
|
application development. It provides a simple, platform-independent API for
|
|
|
|
creating windows and contexts, reading input, handling events, etc.
|
|
|
|
|
2013-09-24 15:35:37 -04:00
|
|
|
Version 3.0.4 is *not yet described*. As this is a patch release, there are no
|
|
|
|
API changes.
|
2013-04-18 18:19:22 -04:00
|
|
|
|
2013-04-07 07:26:06 -04:00
|
|
|
If you are new to GLFW, you may find the
|
2013-07-10 09:51:10 -04:00
|
|
|
[introductory tutorial](http://www.glfw.org/docs/latest/quick.html) for GLFW
|
2013-06-17 05:58:46 -04:00
|
|
|
3 useful. If you have used GLFW 2 in the past, there is a
|
2013-07-10 09:51:10 -04:00
|
|
|
[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
|
|
|
|
2013-10-27 07:50:33 -04:00
|
|
|
See the [Compiling GLFW](http://www.glfw.org/docs/latest/compile.html) guide in
|
|
|
|
the GLFW documentation.
|
2013-02-04 04:46:02 -05:00
|
|
|
|
|
|
|
|
|
|
|
## Using GLFW
|
|
|
|
|
2013-10-27 07:50:33 -04:00
|
|
|
See the
|
|
|
|
[Building programs that use GLFW](http://www.glfw.org/docs/latest/build.html)
|
|
|
|
guide in the GLFW documentation.
|
2013-02-04 04:46:02 -05:00
|
|
|
|
|
|
|
|
2013-06-13 09:09:10 -04:00
|
|
|
## Changelog
|
2013-02-04 04:46:02 -05:00
|
|
|
|
2013-11-07 12:22:44 -05:00
|
|
|
- Added the `GLFW_BUILD_DOCS` CMake option for controlling whether the
|
|
|
|
documentation is built
|
2013-11-20 05:49:44 -05:00
|
|
|
- Added the `_GLFW_USE_CONFIG_H` configuration macro for controlling whether to
|
|
|
|
include the configuration header
|
2013-11-20 07:58:57 -05:00
|
|
|
- Moved version number macro to `internal.h` for easier manual compilation
|
2013-10-09 15:12:03 -04:00
|
|
|
- Renamed configuration header to `glfw_config.h` to avoid conflicts
|
2013-10-21 11:46:05 -04:00
|
|
|
- Bugfix: The `glfw3.pc` file did not respect the `LIB_SUFFIX` CMake option
|
2013-11-07 13:29:33 -05:00
|
|
|
- Bugfix: The `joysticks` test would segfault if a controller had no axes
|
2013-12-04 02:00:53 -05:00
|
|
|
- [Win32] Allowed swap interval to be explicitly set to zero on DWM systems
|
2013-10-17 14:08:56 -04:00
|
|
|
- [Win32] Bugfix: Removed joystick axis value negation left over from GLFW 2
|
2013-10-07 10:12:23 -04:00
|
|
|
- [Win32] Bugfix: Restoring windows using the Win+D hot key did not trigger the
|
|
|
|
focus callback
|
2013-10-07 09:30:57 -04:00
|
|
|
- [Win32] Bugfix: The disabled cursor mode clip rectangle was updated for
|
|
|
|
unfocused windows
|
2013-11-13 06:19:43 -05:00
|
|
|
- [Win32] Bugfix: Cursor was not properly re-centered over odd-sized windows
|
2013-11-13 06:34:43 -05:00
|
|
|
- [Win32] Bugfix: Negative window positions were reported incorrectly
|
2013-12-04 20:15:14 -05:00
|
|
|
- [Win32] Bugfix: The iconify callback was not triggered when switching away
|
|
|
|
from a full screen window using Alt+Tab
|
2013-10-09 15:12:03 -04:00
|
|
|
- [Cocoa] Added dependency on CoreVideo framework for refresh rate retrieval
|
2013-10-09 18:09:03 -04:00
|
|
|
- [Cocoa] Enabled Lion full screen for resizable windowed mode windows
|
2013-11-07 12:03:39 -05:00
|
|
|
- [Cocoa] Moved to Cocoa API for application transformation and activation
|
2013-10-09 14:24:57 -04:00
|
|
|
- [Cocoa] Bugfix: The `GLFW_KEY_GRAVE_ACCENT` key was reported as
|
|
|
|
`GLFW_KEY_WORLD_1` and vice versa
|
2013-09-26 13:57:42 -04:00
|
|
|
- [Cocoa] Bugfix: The `GLFW_KEY_F13` key was reported as
|
|
|
|
`GLFW_KEY_PRINT_SCREEN`
|
2013-10-09 05:58:08 -04:00
|
|
|
- [Cocoa] Bugfix: Implicit conversion from `NSUInteger` to int caused warnings
|
|
|
|
with Xcode 5
|
|
|
|
- [Cocoa] Bugfix: Use of undeclared selectors with `@selector` caused warnings
|
|
|
|
with Xcode 5
|
2013-10-09 13:03:47 -04:00
|
|
|
- [Cocoa] Bugfix: The cursor remained visible if moved onto client area after
|
|
|
|
having been set to hidden outside it
|
2013-10-09 13:45:39 -04:00
|
|
|
- [Cocoa] Bugfix: The refresh rate was zero for all modes of certain monitors
|
2013-10-16 14:56:59 -04:00
|
|
|
- [Cocoa] Bugfix: The `install_name` field of the dynamic library was not set
|
2013-10-17 13:59:09 -04:00
|
|
|
- [Cocoa] Bugfix: Full screen windows were never reported as having focus
|
2013-10-21 16:35:22 -04:00
|
|
|
- [Cocoa] Bugfix: A superfluous I/O flag test prevented video modes from being
|
2013-10-17 14:38:56 -04:00
|
|
|
listed for Thunderbolt monitor
|
2013-11-07 10:20:52 -05:00
|
|
|
- [Cocoa] Bugfix: Retrieving the name of some external displays caused segfault
|
2013-11-07 11:20:06 -05:00
|
|
|
- [Cocoa] Bugfix: The 10.9 SDK defines `GLintptrARB` and `GLsizeiptrARB`
|
|
|
|
differently from the Khronos `glext.h`
|
2013-11-07 12:07:46 -05:00
|
|
|
- [Cocoa] Bugfix: Creating hidden windows would steal application focus
|
2013-11-07 14:36:45 -05:00
|
|
|
- [Cocoa] Bugfix: Controllers were reported as having zero buttons and axes
|
2013-11-07 14:45:29 -05:00
|
|
|
- [Cocoa] Bugfix: Removed joystick axis value negation left over from GLFW 2
|
2013-10-04 07:41:19 -04:00
|
|
|
- [X11] Added setting of the `WM_CLASS` property to the initial window title
|
2013-11-20 13:58:06 -05:00
|
|
|
- [X11] Added support for `_NET_WM_BYPASS_COMPOSITOR`
|
2013-10-17 14:08:56 -04:00
|
|
|
- [X11] Bugfix: Removed joystick axis value negation left over from GLFW 2
|
2013-11-03 07:51:34 -05:00
|
|
|
- [X11] Bugfix: The position of hidden windows was ignored by Metacity
|
2013-11-03 10:08:35 -05:00
|
|
|
and Compiz
|
2013-09-25 17:55:05 -04:00
|
|
|
|
2013-02-04 04:46:02 -05:00
|
|
|
|
|
|
|
## Contact
|
|
|
|
|
|
|
|
The official website for GLFW is [glfw.org](http://www.glfw.org/). There you
|
|
|
|
can find the latest version of GLFW, as well as news, documentation and other
|
|
|
|
information about the project.
|
|
|
|
|
|
|
|
If you have questions related to the use of GLFW, we have a
|
|
|
|
[support forum](https://sourceforge.net/p/glfw/discussion/247562/), and the IRC
|
|
|
|
channel `#glfw` on [Freenode](http://freenode.net/).
|
|
|
|
|
|
|
|
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
|
2013-06-24 08:28:42 -04:00
|
|
|
porting it to your favorite platform, we have an occasionally active
|
2013-02-04 04:46:02 -05:00
|
|
|
[developer's mailing list](https://lists.stacken.kth.se/mailman/listinfo/glfw-dev),
|
|
|
|
or you could join us on `#glfw`.
|
|
|
|
|
|
|
|
|
|
|
|
## 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
|
|
|
|
- artblanc
|
2013-07-30 09:52:23 -04:00
|
|
|
- arturo
|
2013-06-09 06:49:13 -04:00
|
|
|
- Matt Arsenault
|
|
|
|
- Keith Bauer
|
|
|
|
- John Bartholomew
|
2013-06-16 06:35:46 -04:00
|
|
|
- Niklas Behrens
|
2013-06-09 06:49:13 -04:00
|
|
|
- Niklas Bergström
|
2013-08-16 11:48:11 -04:00
|
|
|
- Doug Binks
|
2013-06-09 06:49:13 -04:00
|
|
|
- blanco
|
|
|
|
- Lambert Clara
|
2013-10-06 05:37:16 -04:00
|
|
|
- Andrew Corrigan
|
2013-06-09 06:49:13 -04:00
|
|
|
- Noel Cower
|
|
|
|
- Jarrod Davis
|
|
|
|
- Olivier Delannoy
|
|
|
|
- Paul R. Deppe
|
|
|
|
- Jonathan Dummer
|
|
|
|
- Ralph Eastwood
|
|
|
|
- Gerald Franz
|
|
|
|
- GeO4d
|
|
|
|
- Marcus Geelnard
|
|
|
|
- Stefan Gustavson
|
|
|
|
- Sylvain Hellegouarch
|
|
|
|
- heromyth
|
2013-06-16 12:32:16 -04:00
|
|
|
- Paul Holden
|
2013-06-09 06:49:13 -04:00
|
|
|
- Toni Jovanoski
|
|
|
|
- Osman Keskin
|
|
|
|
- Cameron King
|
|
|
|
- Peter Knut
|
|
|
|
- Robin Leffmann
|
|
|
|
- Glenn Lewis
|
|
|
|
- Shane Liesegang
|
|
|
|
- Дмитри Малышев
|
|
|
|
- Martins Mozeiko
|
|
|
|
- Tristam MacDonald
|
|
|
|
- Hans Mackowiak
|
2013-06-16 12:40:10 -04:00
|
|
|
- Kyle McDonald
|
2013-06-09 06:49:13 -04:00
|
|
|
- David Medlock
|
|
|
|
- Jonathan Mercier
|
|
|
|
- Marcel Metz
|
|
|
|
- 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
|
|
|
|
- Jon Morton
|
2013-09-13 08:41:13 -04:00
|
|
|
- Pierre Moulon
|
2013-06-09 06:49:13 -04:00
|
|
|
- Julian Møller
|
2013-11-13 06:59:49 -05:00
|
|
|
- Kamil Nowakowski
|
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
|
|
|
|
- Arturo J. Pérez
|
2013-10-09 17:58:43 -04:00
|
|
|
- Pieroman
|
2013-06-09 06:49:13 -04:00
|
|
|
- Jorge Rodriguez
|
|
|
|
- Ed Ropple
|
|
|
|
- Riku Salminen
|
|
|
|
- Sebastian Schuberth
|
|
|
|
- Matt Sealey
|
|
|
|
- SephiRok
|
|
|
|
- Steve Sexton
|
2013-10-09 13:45:39 -04:00
|
|
|
- Systemcluster
|
2013-06-09 06:49:13 -04:00
|
|
|
- Dmitri Shuralyov
|
|
|
|
- Daniel Skorupski
|
|
|
|
- Bradley Smith
|
|
|
|
- Julian Squires
|
|
|
|
- Johannes Stein
|
2013-06-17 11:42:22 -04:00
|
|
|
- Justin Stoecker
|
2013-06-09 06:49:13 -04:00
|
|
|
- Nathan Sweet
|
|
|
|
- TTK-Bandit
|
|
|
|
- Sergey Tikhomirov
|
|
|
|
- Samuli Tuomola
|
2013-10-07 09:30:57 -04:00
|
|
|
- urraka
|
2013-06-09 06:49:13 -04:00
|
|
|
- Jari Vetoniemi
|
|
|
|
- Simon Voordouw
|
|
|
|
- Torsten Walluhn
|
|
|
|
- Jay Weisskopf
|
|
|
|
- Frank Wille
|
|
|
|
- yuriks
|
|
|
|
- Santi Zupancic
|
|
|
|
- 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
|
|
|
|
|