Also known as Graphics Library Framework
GLFW (Graphics Library Framework) is a lightweight utility library for use with OpenGL, OpenGL ES and Vulkan. It provides programmers with the ability to create and manage windows as well as OpenGL and Vulkan contexts, as well as handle joystick, keyboard and mouse input.
via Wikipedia infobox
Link to the official site · 3,876 chars · not written by Vinony
~2 min read
GLFW (Graphics Library Framework) is a lightweight utility library for use with OpenGL, OpenGL ES and Vulkan. It provides programmers with the ability to create and manage windows as well as OpenGL and Vulkan contexts, as well as handle joystick, keyboard and mouse input.
==Software architecture== GLFW is a small C library that allows the creation and management of windows with OpenGL contexts, making it also possible to use multiple monitors and video modes. It provides access to input from the keyboard, mouse, and joysticks. The API provides a thin, multi-platform abstraction layer, primarily for applications whose sole graphics output is through the OpenGL API. While GLFW is very useful when developing multi-platform OpenGL applications, single-platform developers can also benefit from avoiding having to deal with a platform-specific API.
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. GLFW supports Windows, macOS and Linux, and also works on many other Unix-like systems. On Linux both Wayland and X11 are supported. You can download the latest stable release as source or Windows and macOS binaries. There are release tags with source and binary archives attached for every version since 3.0. The documentation is available online and is also included in source and binary archives, except those generated automatically by Github. The documentation contains guides, a tutorial and the API reference. The release notes list the new features, caveats and deprecations in the latest release. The version history lists every user-visible change for every release. GLFW exists because of the contributions of many people around the world, whether by reporting bugs, providing community support, adding features, reviewing or testing code, debugging, proofreading docs, suggesting features or fixing bugs. GLFW supports Windows 7 and later and macOS 10.11 and later. On GNOME Wayland, window decorations will be very basic unless the libdecor package is installed. Linux and other Unix-like systems running X11 are supported even without a desktop environment or modern extensions, although some features require a clipboard manager or a modern window manager. GLFW supports compilation with Visual C++ (2013 and later), GCC and Clang. Both Clang-CL and MinGW-w64 are supported. Other C99 compilers will likely also work, but this is not regularly tested. GLFW itself needs only CMake and the headers and libraries for your operating system and window system. No other SDKs are required. See the compilation guide for more information about compiling GLFW and the exact dependencies required for each window system. The examples and test programs depend on a number of tiny libraries. These are bundled in the deps/ directory. The repository has no submodules. getopt port for examples with command-line options TinyCThread for threaded examples glad2 for loading OpenGL and Vulkan functions linmath.h for linear algebra in examples Nuklear for test and example UI stb image write for writing images to disk The documentation is generated with Doxygen when the library is built, provided CMake could find a sufficiently new version of it during configuration. See the HTML documentation for a tutorial, guides and the API reference. The master branch is the stable integration branch and should always compile and run on all supported platforms. Details of a newly added feature, including the public API, may change until it has been included in a release. The latest branch is equivalent to the highest numbered release, although it may not always point to the same commit as the tag for that release. The ci branch is used to trigger continuous integration jobs for code under testing and should never be relied on for any purpose. Bugs are reported to our issue tracker. Please check the contribution guide for information on what to include when reporting a bug. On glfw.org you can find the latest version of GLFW, as well as news, documentation and other information about the project.
Excerpt from the source-code README · 9,287 chars · not written by Vinony
via Wikidata · CC0
Discovered by embedding cosine similarity (sentence-transformers MiniLM, 384-dim).