macOS
brew install wafflelocal Homebrew formula metadata
brew
C library for selecting an OpenGL API and window system at runtime. Version 1.8.3 via Homebrew; verified 2026-06-29.
install
brew install wafflelocal Homebrew formula metadata
sudo apk add waffleAlpine Linux edge package indexes · waffle · source: dl-cdn.alpinelinux.org
sudo apt install libwaffle-1-0Debian stable package indexes · libwaffle-1-0 · source: deb.debian.org
sudo dnf install waffleFedora Rawhide package metadata · waffle · source: dl.fedoraproject.org
nix profile install nixpkgs#wafflenixpkgs package indexes · pkgs/by-name/wa/waffle/package.nix · source: api.github.com
sudo zypper install libwaffle-1-0openSUSE Tumbleweed package metadata · libwaffle-1-0 · source: download.opensuse.org
overview
C library for selecting an OpenGL API and window system at runtime
history
Waffle is a small freedesktop.org graphics infrastructure library rather than an end-user application. Its purpose is to let a program choose an OpenGL API and native window-system binding at runtime, so the same test or tool can run against combinations such as GLX, X11/EGL, Wayland/EGL, GBM, surfaceless EGL, or experimental non-Linux backends.
The project was public in the Mesa and Piglit orbit by 2012: the Waffle website records a presentation by Chad Versace at the 2012 X Developer's Conference, and the October 2012 Waffle 1.1.0 announcement described the library as API- and ABI-compatible with Waffle 1.0 while adding GBM, experimental Android support, and manpage documentation.
Waffle's upstream home is now the Mesa namespace on freedesktop.org GitLab. The older GitHub organization is kept as an archive and points contributors to the freedesktop.org repository, which matches Waffle's role as plumbing for Mesa-adjacent graphics testing rather than a standalone developer product.
Waffle is mainly used by graphics tests and diagnostics that need to create GL contexts without committing at build time to one window system. The accompanying `wflinfo` command is the visible CLI entry point, while library consumers use the C API to initialize a platform, choose a config, create contexts and windows, and, on selected platforms, retrieve backing native objects when they need behavior outside Waffle's abstraction.
Its significance is niche but real: Waffle sits in the awkward layer between OpenGL APIs and native window systems, exactly where Mesa and Piglit need repeatable testing across driver stacks. Package maintainers tend to encounter it as a dependency of graphics conformance and regression-test tooling, not as a general-purpose GUI library.
security posture
generalized runtime or code generation signal.
yellow risk · medium confidence · runtime
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
wflinfo | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://waffle.freedesktop.org/
install metadata
| Package key | brew:waffle |
|---|---|
| Version | 1.8.3 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/waffle |
| Homepage | https://waffle.freedesktop.org/ |
| Repository | https://gitlab.freedesktop.org/mesa/waffle |
| Upstream docs | https://waffle.freedesktop.org/ |
| License | BSD-2-Clause |
| Source archive | https://waffle.freedesktop.org/files/release/waffle-1.8.3/waffle-1.8.3.tar.xz |
| Last updated | 2026-06-29T23:33:58Z |
| Pulse | updated |
| Build dependencies | cmake, docbook-xsl, meson, ninja, pkgconf |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | waffle |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
libwaffle-1-0 1.8.1-1
Waffle library (binaries)
https://waffle.freedesktop.org/
sudo apt install libwaffle-1-0libwaffle-dev 1.8.1-1
Waffle library (development files)
https://waffle.freedesktop.org/
sudo apt install libwaffle-devlibwaffle-doc 1.8.1-1
Waffle library (documentation)
https://waffle.freedesktop.org/
sudo apt install libwaffle-docwaffle-utils 1.8.1-1
Waffle library (utilities)
https://waffle.freedesktop.org/
sudo apt install waffle-utilswaffle
nix profile install nixpkgs#wafflelibwaffle-1-0 1.8.0-2build1
Waffle library (binaries)
https://waffle.freedesktop.org/
sudo apt install libwaffle-1-0libwaffle-dev 1.8.0-2build1
Waffle library (development files)
https://waffle.freedesktop.org/
sudo apt install libwaffle-devlibwaffle-doc 1.8.0-2build1
Waffle library (documentation)
https://waffle.freedesktop.org/
sudo apt install libwaffle-docwaffle-utils 1.8.0-2build1
Waffle library (utilities)
https://waffle.freedesktop.org/
sudo apt install waffle-utilswaffle 1.8.0-r0
C library for selecting an OpenGL API and window system at runtime
https://gitlab.freedesktop.org/mesa/waffle
sudo apk add wafflewaffle-bash-completion 1.8.0-r0
Bash completions for waffle
https://gitlab.freedesktop.org/mesa/waffle
sudo apk add waffle-bash-completionwaffle-dev 1.8.0-r0
C library for selecting an OpenGL API and window system at runtime (development files)
https://gitlab.freedesktop.org/mesa/waffle
sudo apk add waffle-devwaffle-doc 1.8.0-r0
C library for selecting an OpenGL API and window system at runtime (documentation)
https://gitlab.freedesktop.org/mesa/waffle
sudo apk add waffle-docwaffle-zsh-completion 1.8.0-r0
Zsh completions for waffle
https://gitlab.freedesktop.org/mesa/waffle
sudo apk add waffle-zsh-completionwaffle 1.8.1-1.fc44
Platform independent GL API layer
http://www.waffle-gl.org/releases.html
sudo dnf install wafflewaffle-devel 1.8.1-1.fc44
Development headers and libraries for waffle
http://www.waffle-gl.org/releases.html
sudo dnf install waffle-develsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.