A multi-platform library for OpenGL, OpenGL ES, Vulkan, window and input
Go to file
Camilla Berglund b3c461bd7e Cleaned up fix for #234.
XFree may not be passed NULL.  An invalid window handle will cause
_glfwGetWindowProperty to not return 1.
2014-02-13 13:30:12 +01:00
CMake Build documentation improvements. 2013-08-07 17:05:32 +02:00
deps Replaced Free Getopt with getopt_port. 2014-01-21 14:16:51 +01:00
docs Added _GLFW_USE_RETINA. 2014-02-10 13:45:13 +01:00
examples Replaced ad-hoc extension loading with glad. 2014-01-12 01:59:06 +01:00
include/GLFW Updated API version in comment headers. 2014-01-22 01:32:00 +01:00
src Cleaned up fix for #234. 2014-02-13 13:30:12 +01:00
tests Added multi-window support to events test. 2014-02-12 00:49:26 +01:00
.gitignore Cleaned up particles example. 2014-01-11 21:29:58 +01:00
cmake_uninstall.cmake.in Formatting. 2012-08-19 02:33:43 +02:00
CMakeLists.txt WINVER fixes for MinGW and VC++. 2014-02-10 21:12:20 +01:00
COPYING.txt Updated COPYING. 2010-09-07 17:55:11 +02:00
README.md Fixed uncaught BadWindow in EWMH check. 2014-02-11 15:50:19 +01:00

GLFW

Introduction

GLFW is a free, Open Source, multi-platform 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.

Version 3.1 is not yet described.

If you are new to GLFW, you may find the introductory tutorial for GLFW 3 useful. If you have used GLFW 2 in the past, there is a transition guide for moving to the GLFW 3 API.

Compiling GLFW

See the Compiling GLFW guide in the GLFW documentation.

Using GLFW

See the Building programs that use GLFW guide in the GLFW documentation.

Dependencies

GLFW bundles a number of dependencies in the deps/ directory.

The following dependencies are needed by GLFW:

The following dependencies are needed by the examples and test programs:

Changelog

  • Added native monitor handle access to native API
  • Added glfwSetDropCallback and GLFWdropfun for receiving dropped files
  • [Cocoa] Added _GLFW_USE_RETINA to control whether windows will use the full resolution on Retina displays
  • [Cocoa] Bugfix: Using a 1x1 cursor for hidden mode caused some screen recorders to fail
  • [Cocoa] Bugfix: Some Core Foundation objects were leaked during joystick enumeration
  • [Win32] Enabled generation of pkg-config file for MinGW
  • [Win32] Bugfix: Failure to load winmm or its functions was not reported to the error callback
  • [X11] Bugfix: The case of finding no usable CRTCs was not detected
  • [X11] Bugfix: Detection of broken Nvidia RandR gamma support did not verify that at least one CRTC was present
  • [X11] Bugfix: A stale _NET_SUPPORTING_WM_CHECK root window property would cause an uncaught BadWindow error

Contact

The official website for GLFW is 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, and the IRC channel #glfw on Freenode.

If you have a bug to report, a patch to submit or a feature you'd like to request, please file it in the issue tracker on GitHub.

Finally, if you're interested in helping out with the development of GLFW or porting it to your favorite platform, we have an occasionally active developer's mailing list, or you could join us on #glfw.

Acknowledgements

GLFW exists because people around the world donated their time and lent their skills.

  • Bobyshev Alexander
  • artblanc
  • arturo
  • Matt Arsenault
  • Keith Bauer
  • John Bartholomew
  • Niklas Behrens
  • Niklas Bergström
  • Doug Binks
  • blanco
  • Lambert Clara
  • Andrew Corrigan
  • Noel Cower
  • Jarrod Davis
  • Olivier Delannoy
  • Paul R. Deppe
  • Jonathan Dummer
  • Ralph Eastwood
  • Michael Fogleman
  • Gerald Franz
  • GeO4d
  • Marcus Geelnard
  • Stefan Gustavson
  • Sylvain Hellegouarch
  • heromyth
  • Paul Holden
  • Toni Jovanoski
  • Osman Keskin
  • Cameron King
  • Peter Knut
  • Robin Leffmann
  • Glenn Lewis
  • Shane Liesegang
  • Дмитри Малышев
  • Martins Mozeiko
  • Tristam MacDonald
  • Hans Mackowiak
  • Kyle McDonald
  • David Medlock
  • Jonathan Mercier
  • Marcel Metz
  • Kenneth Miller
  • Bruce Mitchener
  • Jack Moffitt
  • Jeff Molofee
  • Jon Morton
  • Pierre Moulon
  • Julian Møller
  • Kamil Nowakowski
  • Ozzy
  • Andri Pálsson
  • Peoro
  • Braden Pellett
  • Arturo J. Pérez
  • Pieroman
  • Jorge Rodriguez
  • Ed Ropple
  • Riku Salminen
  • Sebastian Schuberth
  • Matt Sealey
  • SephiRok
  • Steve Sexton
  • Systemcluster
  • Dmitri Shuralyov
  • Daniel Skorupski
  • Bradley Smith
  • Julian Squires
  • Johannes Stein
  • Justin Stoecker
  • Nathan Sweet
  • TTK-Bandit
  • Sergey Tikhomirov
  • Samuli Tuomola
  • urraka
  • 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 reports, patches, feedback, testing and encouragement