GLFW in a Nutshell
  • About GLFW
  • Preparation
    • Project Setup
    • Library Setup
  • Windows
    • Window Basics
    • Properties
    • Actions
    • Creation Hints
    • Attributes
    • (Windowed) Fullscreen
    • Callbacks
    • Icons
  • Contexts
    • Context Basics
    • OpenGL (ES)
    • Vulkan
  • Input
    • Keyboard
    • Mouse
    • Joystick/Gamepad
    • Other
  • Monitors
    • Monitor Basics
    • Video Modes
    • Multiple Monitors
  • Appendix
    • Credits
    • Licensing
    • Glossary
Powered by GitBook
On this page
  • What is GLFW?
  • History of GLFW
  • Link Collection

Was this helpful?

About GLFW

What you need to know about GLFW, before getting started

NextProject Setup

Last updated 5 years ago

Was this helpful?

What is GLFW?

GLFW is short for Graphics Library Framework. It provides a simple API for creating and handling windows and contexts, and receiving input. The project is open source and supports all major operating systems. It has built-in support for industry-standard rendering APIs like OpenGL and Vulkan, and can be used in virtually any programming language, thanks to more than thirty open-source bindings.

More information about GLFW can be found on . The website houses an active , as well as superb . Examples and source code of GLFW can be found in the official .

History of GLFW

In GLFW's releases date back to February 2002, with the release of version 2.0. For more than ten years, GLFW 2 was the most up-to-date version and saw small improvements and additions from version to version. During this time, in 2006, ownership of the project passed from Marcus Geelnard to Camilla Löwy. At this point, a total of 312 commits had been made to the GitHub repository. Version 2.7.9, released in June of 2013, should be the last release of GLFW 2, which is now referred to as GLFW Legacy and is still available on .

GLFW 3 had been worked on alongside GLFW 2 for nearly two years in the background and was subsequently released the same month, as version 2.7.9 was. It introduced support for multiple windows and monitors, as well as added better error handling. GLFW 3 releases were much more frequent and feature-rich, compared to GLFW 2 releases, thanks to a growing community that happily contributed on GitHub. With version 3.2 in 2016, initial support for Vulkan was added, which was refined in 2019 with version 3.3, which brought support for Vulkan on macOS via MoltenVK. As of October 2019, nearly 4,000 commits have been made to the ; more than one hundred and eighty people are credited in the official readme.

To dive deeper into the history of GLFW, I recommend the , available on the official website.

Link Collection

glfw.org
forum
documentation
GitHub repository
version history
GitHub
official repository
news archive
GLFW Homepage
GLFW on GitHub
HTML documentation
List of community bindings and frameworks