2013-06-13 15:07:28 +02:00
|
|
|
# GLFW
|
2013-02-04 10:46:02 +01:00
|
|
|
|
|
|
|
## Introduction
|
|
|
|
|
2014-02-10 15:33:41 +01:00
|
|
|
GLFW is a free, Open Source, multi-platform library for OpenGL and OpenGL ES
|
2013-02-04 10:46:02 +01:00
|
|
|
application development. It provides a simple, platform-independent API for
|
|
|
|
creating windows and contexts, reading input, handling events, etc.
|
|
|
|
|
2014-01-01 15:29:57 +01:00
|
|
|
Version 3.1 is *not yet described*.
|
2013-04-19 00:19:22 +02:00
|
|
|
|
2013-04-07 13:26:06 +02:00
|
|
|
If you are new to GLFW, you may find the
|
2013-07-10 15:51:10 +02:00
|
|
|
[introductory tutorial](http://www.glfw.org/docs/latest/quick.html) for GLFW
|
2013-06-17 11:58:46 +02:00
|
|
|
3 useful. If you have used GLFW 2 in the past, there is a
|
2013-07-10 15:51:10 +02:00
|
|
|
[transition guide](http://www.glfw.org/docs/latest/moving.html) for moving to
|
|
|
|
the GLFW 3 API.
|
2013-02-04 10:46:02 +01:00
|
|
|
|
|
|
|
|
2013-10-27 12:50:33 +01:00
|
|
|
## Compiling GLFW
|
2013-10-21 22:23:15 +02:00
|
|
|
|
2013-10-27 12:50:33 +01:00
|
|
|
See the [Compiling GLFW](http://www.glfw.org/docs/latest/compile.html) guide in
|
|
|
|
the GLFW documentation.
|
2013-02-04 10:46:02 +01:00
|
|
|
|
|
|
|
|
|
|
|
## Using GLFW
|
|
|
|
|
2013-10-27 12:50:33 +01:00
|
|
|
See the
|
|
|
|
[Building programs that use GLFW](http://www.glfw.org/docs/latest/build.html)
|
|
|
|
guide in the GLFW documentation.
|
2013-02-04 10:46:02 +01:00
|
|
|
|
|
|
|
|
2014-01-12 05:40:36 +01:00
|
|
|
## Dependencies
|
|
|
|
|
|
|
|
GLFW bundles a number of dependencies in the `deps/` directory.
|
|
|
|
|
|
|
|
The following dependencies are needed by GLFW:
|
|
|
|
|
|
|
|
- [Khronos extension headers](https://www.opengl.org/registry/)
|
|
|
|
|
|
|
|
The following dependencies are needed by the examples and test programs:
|
|
|
|
|
2014-01-21 14:16:51 +01:00
|
|
|
- [getopt\_port](https://github.com/kimgr/getopt_port/) for getopt
|
2014-01-12 05:40:36 +01:00
|
|
|
- [TinyCThread](https://gitorious.org/tinythread/tinycthread/) for threading
|
|
|
|
- An OpenGL loader generated by [glad](https://github.com/Dav1dde/glad)
|
|
|
|
|
|
|
|
|
2013-06-13 15:09:10 +02:00
|
|
|
## Changelog
|
2013-02-04 10:46:02 +01:00
|
|
|
|
2014-01-13 23:27:11 +01:00
|
|
|
- Added native monitor handle access to native API
|
2013-12-22 19:28:46 +01:00
|
|
|
- Added `glfwSetDropCallback` and `GLFWdropfun` for receiving dropped files
|
2014-02-10 13:45:13 +01:00
|
|
|
- [Cocoa] Added `_GLFW_USE_RETINA` to control whether windows will use the full
|
|
|
|
resolution on Retina displays
|
2014-01-13 23:27:11 +01:00
|
|
|
- [Cocoa] Bugfix: Using a 1x1 cursor for hidden mode caused some screen
|
|
|
|
recorders to fail
|
2014-02-10 14:27:49 +01:00
|
|
|
- [Cocoa] Bugfix: Some Core Foundation objects were leaked during joystick
|
|
|
|
enumeration
|
2014-02-10 15:30:51 +01:00
|
|
|
- [Win32] Enabled generation of pkg-config file for MinGW
|
2014-01-29 15:14:49 +01:00
|
|
|
- [Win32] Bugfix: Failure to load winmm or its functions was not reported to
|
|
|
|
the error callback
|
2014-01-22 16:39:34 +01:00
|
|
|
- [X11] Bugfix: The case of finding no usable CRTCs was not detected
|
2014-01-22 17:24:00 +01:00
|
|
|
- [X11] Bugfix: Detection of broken Nvidia RandR gamma support did not verify
|
|
|
|
that at least one CRTC was present
|
2014-01-06 15:34:49 +01:00
|
|
|
|
2013-02-04 10:46:02 +01: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 14:28:42 +02:00
|
|
|
request, please file it in the
|
|
|
|
[issue tracker](https://github.com/glfw/glfw/issues) on GitHub.
|
2013-02-04 10:46:02 +01:00
|
|
|
|
|
|
|
Finally, if you're interested in helping out with the development of GLFW or
|
2013-06-24 14:28:42 +02:00
|
|
|
porting it to your favorite platform, we have an occasionally active
|
2013-02-04 10:46:02 +01: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 12:49:13 +02:00
|
|
|
- Bobyshev Alexander
|
|
|
|
- artblanc
|
2013-07-30 15:52:23 +02:00
|
|
|
- arturo
|
2013-06-09 12:49:13 +02:00
|
|
|
- Matt Arsenault
|
|
|
|
- Keith Bauer
|
|
|
|
- John Bartholomew
|
2013-06-16 12:35:46 +02:00
|
|
|
- Niklas Behrens
|
2013-06-09 12:49:13 +02:00
|
|
|
- Niklas Bergström
|
2013-08-16 17:48:11 +02:00
|
|
|
- Doug Binks
|
2013-06-09 12:49:13 +02:00
|
|
|
- blanco
|
|
|
|
- Lambert Clara
|
2013-10-06 11:37:16 +02:00
|
|
|
- Andrew Corrigan
|
2013-06-09 12:49:13 +02:00
|
|
|
- Noel Cower
|
|
|
|
- Jarrod Davis
|
|
|
|
- Olivier Delannoy
|
|
|
|
- Paul R. Deppe
|
|
|
|
- Jonathan Dummer
|
|
|
|
- Ralph Eastwood
|
2013-12-10 13:45:21 +01:00
|
|
|
- Michael Fogleman
|
2013-12-11 14:41:51 +01:00
|
|
|
- Gerald Franz
|
2013-06-09 12:49:13 +02:00
|
|
|
- GeO4d
|
|
|
|
- Marcus Geelnard
|
|
|
|
- Stefan Gustavson
|
|
|
|
- Sylvain Hellegouarch
|
|
|
|
- heromyth
|
2013-06-16 18:32:16 +02:00
|
|
|
- Paul Holden
|
2013-06-09 12:49:13 +02:00
|
|
|
- Toni Jovanoski
|
|
|
|
- Osman Keskin
|
|
|
|
- Cameron King
|
|
|
|
- Peter Knut
|
|
|
|
- Robin Leffmann
|
|
|
|
- Glenn Lewis
|
|
|
|
- Shane Liesegang
|
|
|
|
- Дмитри Малышев
|
|
|
|
- Martins Mozeiko
|
|
|
|
- Tristam MacDonald
|
|
|
|
- Hans Mackowiak
|
2013-06-16 18:40:10 +02:00
|
|
|
- Kyle McDonald
|
2013-06-09 12:49:13 +02:00
|
|
|
- David Medlock
|
|
|
|
- Jonathan Mercier
|
|
|
|
- Marcel Metz
|
|
|
|
- Kenneth Miller
|
2013-07-01 13:18:05 +02:00
|
|
|
- Bruce Mitchener
|
2013-10-28 13:22:34 +01:00
|
|
|
- Jack Moffitt
|
2013-06-09 12:49:13 +02:00
|
|
|
- Jeff Molofee
|
|
|
|
- Jon Morton
|
2013-09-13 14:41:13 +02:00
|
|
|
- Pierre Moulon
|
2013-06-09 12:49:13 +02:00
|
|
|
- Julian Møller
|
2013-11-13 12:59:49 +01:00
|
|
|
- Kamil Nowakowski
|
2013-06-17 11:58:46 +02:00
|
|
|
- Ozzy
|
2013-10-09 19:03:47 +02:00
|
|
|
- Andri Pálsson
|
2013-06-09 12:49:13 +02:00
|
|
|
- Peoro
|
|
|
|
- Braden Pellett
|
|
|
|
- Arturo J. Pérez
|
2013-10-09 23:58:43 +02:00
|
|
|
- Pieroman
|
2013-06-09 12:49:13 +02:00
|
|
|
- Jorge Rodriguez
|
|
|
|
- Ed Ropple
|
|
|
|
- Riku Salminen
|
|
|
|
- Sebastian Schuberth
|
|
|
|
- Matt Sealey
|
|
|
|
- SephiRok
|
|
|
|
- Steve Sexton
|
2013-10-09 19:45:39 +02:00
|
|
|
- Systemcluster
|
2013-06-09 12:49:13 +02:00
|
|
|
- Dmitri Shuralyov
|
|
|
|
- Daniel Skorupski
|
|
|
|
- Bradley Smith
|
|
|
|
- Julian Squires
|
|
|
|
- Johannes Stein
|
2013-06-17 17:42:22 +02:00
|
|
|
- Justin Stoecker
|
2013-06-09 12:49:13 +02:00
|
|
|
- Nathan Sweet
|
|
|
|
- TTK-Bandit
|
|
|
|
- Sergey Tikhomirov
|
|
|
|
- Samuli Tuomola
|
2013-10-07 15:30:57 +02:00
|
|
|
- urraka
|
2013-06-09 12:49:13 +02: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 10:46:02 +01:00
|
|
|
reports, patches, feedback, testing and encouragement
|
|
|
|
|