📰 Title: | GLFW | 🕹️ / 🛠️ Type: | Tool |
---|---|---|---|
🗃️ Genre: | Development | 🚦 Status: | 04. Released (status) |
🏷️ Category: | Development ➤ Framework & Tool ➤ Rendering Framework | 🌍️ Browser version: | |
🔖 Tags: | Development; Framework; C/C++; Multi-platform | 📦️ Package Name: | libglfw3-dev |
🐣️ Approx. start: | 📦️ Arch package: | ||
🐓️ Latest: | 2020-09-23 | 📦️ RPM package: | |
📍️ Version: | Latest: 3.3.2 / Dev: 1353f37 | 📦️ Deb package: | |
🏛️ License type: | 🕊️ Libre | 📦️ Flatpak package: | |
🏛️ License: | zlib & libpng | 📦️ AppImage package: | |
🏝️ Perspective: | Third person | 📦️ Snap package: | |
👁️ Visual: | Text | ⚙️ Generic binary: | |
⏱️ Pacing: | Real Time | 📄️ Source: | |
👫️ Played: | Single | 📱️ PDA support: | |
🎖️ This record: | 🕳️ Not used: | ||
🎀️ Game design: | 👫️ Contrib.: | goupildb & Louis | |
🎰️ ID: | 15024 | 🐛️ Created: | 2016-06-25 |
🐜️ Updated: | 2022-05-06 |
[en]: | a free, Open Source, multi-platform library for OpenGL, OpenGL ES and Vulkan development on the desktop. It provides a simple API for creating windows, contexts and surfaces, receiving input and events. It is written in C and has native support for Windows, OS X and many Unix-like systems using the X Window System, such as Linux and FreeBSD. | [fr]: | Une bibliothèque légère, libre, multi-plateforme et open source pour le développement d'applications desktop OpenGL, OpenGL ES et Vulkan. Elle fournit aux programmeurs la possibilité de créer et de gérer des fenêtres et des contextes pour ces interfaces graphiques, et le support des joystick, clavier et souris. |
---|
🎮️ Showcase: (202xxx), (202xxx), (202xxx),
🏡️ Website & videos
[Homepage] [Dev site] [Features/About] [Screenshots] [Videos t(202xxx) ts(202xxx) gd(202xxx) r(202xxx) d(202xxx) d(202xxx) d(202xxx) d(202xxx) d(202xxx) d(202xxx) d(202xxx) d(202xxx) d(202xxx) d(202xxx) ht(202xxx) ht(202xxx) ht(202xxx) ht(202xxx) g[fr](202xxx) g[de](202xxx)] [WIKI] [FAQ] [RSS] [Changelog 1 2 3 4]
💰 Commercial: (empty)
🍩️ Resources
• (empty):
🛠️ Technical informations
[Open Hub] [PCGamingWiki] [MobyGames]
🐘 Social
Devs (GLFW Team [fr] [en]): [Site 1 2] [Chat] [mastodon] [twitter] [PeerTube] [YouTube] [PressKit] [Interview 1(202xxx) 2(202xxx)]
Devs (Camilla Berglund [fr] [en]): [Site 1 2] [Chat] [mastodon] [twitter] [PeerTube] [YouTube] [LinkedIn] [PressKit] [Interview 1(202xxx) 2(202xxx)]
The Project: [Blog] [Forums] [mastodon] [twitter] [PeerTube] [YouTube] [PressKit] [reddit] [Discord]
🐝️ Related
[Wikipedia (GL FrameWork) [fr] [en]]
[Debian/Ubuntu]
📦️ Misc. repositories
[Repology] [pkgs.org] [Arch Linux / AUR] [openSUSE] [Debian/Ubuntu] [Flatpak] [AppImage] [Snap] [PortableLinuxGames]
🕵️ Reviews
[HowLongToBeat] [metacritic] [OpenCritic] [iGDB]
📰 News / Source of this Entry (SotE) / News (SotN)
[Gaming on Linux (20160608)]
🕊️ Source of this Entry: [Site on Mastodon (date)]
🐘 Social Networking Update (on Mastodon)
🛠️ Title:
🦊️ What's:
🏡️
🐣️
🔖
📦️
📖 Our entry: http://www.lebottindesjeuxlinux.tuxfamily.org/en/online/lights-on/
🥁️ Update:
⚗️
📌️ Changes:
🐘 From:
🏝️ https://invidious.lunar.icu/
🦉️ https://invidious.lunar.icu/
🦝️ https://invidious.lunar.icu/
🦝️ https://invidious.lunar.icu/
🕵️ https://invidious.lunar.icu/
🕯️ https://invidious.lunar.icu/
🕯️ https://invidious.lunar.icu/
🎲️ https://invidious.lunar.icu/
🎲️ https://invidious.lunar.icu/
🎲️[fr] https://invidious.lunar.icu/
🎮️ https://invidious.lunar.icu/
🎮️ https://invidious.lunar.icu/
🐧 https://invidious.lunar.icu/
🐧 https://invidious.lunar.icu/
GLFW is a free, Open Source, multi-platform library for OpenGL, OpenGL ES and Vulkan development on the desktop. It provides a simple API for creating windows, contexts and surfaces, receiving input and events.
GLFW is written in C and supports Windows, macOS, X11 and Wayland
GLFW is licensed under the zlib/libpng license.
What is GLFW?
GLFW is a small C library that lets you create and manage windows, OpenGL and OpenGL ES contexts and Vulkan surfaces, enumerate monitors and video modes as well as handle inputs such as keyboard, mouse, joystick, clipboard and time.
GLFW provides a thin, multi-platform abstraction layer, primarily for applications whose sole graphics output is through OpenGL, OpenGL ES or Vulkan. While GLFW is very useful when developing multi-platform OpenGL applications, single-platform developers can also benefit from avoiding having to deal with kludgy platform-specific APIs.
Libraries like GLFW are useful because OpenGL and OpenGL ES by themselves do not provide any mechanisms for creating the necessary context, managing windows, user input, timing etc. As stated in the OpenGL 3.1 Specification (chapter 2, first paragraph):
OpenGL is concerned only with rendering into a framebuffer (and reading values stored in that framebuffer). There is no support for other peripherals sometimes associated with graphics hardware, such as mice and keyboards. Programmers must rely on other mechanisms to obtain user input.
GLFW matches the description of other mechanisms quite well.
Unlike the GL APIs, Vulkan does provide its own instance and surface creation functions, but surface creation is platform-specific and the API still only covers rendering.
🌍️ Wikipedia:
GLFW is a lightweight utility library for use with OpenGL. It provides programmers with the ability to create and manage windows and OpenGL 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 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 kludgy platform-specific APIs.
A possible reason that libraries like GLFW are needed is that OpenGL by itself does not provide any mechanisms for creating the necessary context, managing windows, user input, timing etc. There are several other libraries available for aiding OpenGL development. The most common ones are freeglut, an Open Source implementation of GLUT, and SDL. However, freeglut is mostly concerned with providing a stable clone of GLUT, while SDL is too large for some people and has never had OpenGL as its main focus. GLFW is predicated on the assumption that there is room for a lightweight, modern library for managing OpenGL contexts, windows and input.
GLFW is by design not:
• a user interface library. It allows the programmer to create top-level windows with OpenGL contexts. No menus, no buttons.
• a Windows-only library. Requests for features that cannot be portably implemented will be denied unless they are unobtrusive, like the Windows port looking for a GLFW_ICON resource at window creation.
• a threading library. There are already good multi-platform threading libraries and threading has been added to both the C11 and C++11 standard libraries.
• an image loading library. There are already good multi-platform image loading libraries.
• capable of rendering text. There are already several libraries that render text with OpenGL and consistent multi-platform text rendering cannot depend on the platform’s text rendering facilities anyway.
• capable of rendering anything at all. Rendering is up to the programmer and/or other libraries.
• integrated with any user interface toolkit on any platform. Good UI toolkits already provide OpenGL-capable widgets and having two libraries both talking to the vast global state of a window system is asking for trouble.
• able to play back sound.
• GLUT or SDL.
Programming language bindings
Although GLFW is written in C, bindings do exist to use the API with other programming languages including Ada, C#, Common Lisp, D, Go, Haskell, Java, Python, Rebol, Red, Ruby and Rust, among others.
Back-ends
GLFW version 3.2 has Wayland support and Mir has experimental support through compile-time flags.
Une bibliothèque pour le développement d'applications desktop OpenGL, OpenGL ES et Vulkan, par la GLFW Team (Camilla Berglund aka elmindreda et de nombreux autres).
En C.
GLFW (GL FrameWork) est une bibliothèque légère, libre, multi-plateforme et open source pour le développement d'applications desktop OpenGL, OpenGL ES et Vulkan. Elle fournit aux programmeurs la possibilité de créer et de gérer des fenêtres et des contextes pour ces interfaces graphiques, et le support des joystick, clavier et souris.
GLFW est une bibliothèque libre, multi-plateforme, et open source pour le développement d'applications desktop OpenGL, OpenGL ES et Vulkan. Elle fournit une API simple permettant de créer des fenêtres, des contextes et des surfaces, recevant une entrée et des événements.
GLFW est écrit en C et a un support natif pour Windows, OS X et de nombreux systèmes Unix en utilisant le système X Window, tels que Linux et FreeBSD.
GLFW est placé sous la licence zlib / libpng.
Utilisé par ces jeux / Used by these games: Pandora: First Contact,
🌍️ Wikipedia:
GLFW (GL Frame Work) est une bibliothèque offrant un jeu de routines pour la gestion des fenêtres OpenGL, proposée en alternative à GLUT.