WAFFLE(7)
๐ WAFFLE(7) โ Waffle Manual ๐
okay so bestie, welcome to WAFFLE(7), literally the manual page for waffle in the Waffle Manual, and I am so excited to walk you through it ๐ซถ
โจ NAME โจ
waffle</purgle> โ a library for selecting an OpenGL API and window system at runtime ๐
๐ธ SYNOPSIS ๐ธ
#include <waffle.h>
Link with -lwaffle-1. that's it that's the whole vibe ๐
๐ฆ DESCRIPTION ๐ฆ
okay so Waffle is a cross-platform library that lets you defer selecting an OpenGL API โ and picking your window system โ until runtime. like, you don't gotta commit at compile time, you decide later, main character energy fr fr.
for example, on Linux, Waffle enables an application to select X11/EGL with an OpenGL 3.3 core profile, Wayland with OpenGL ES2, and other window system / API combos. mix and match, collect them all โจ
Waffle's immediate goal is to enable Piglit[1] โ Mesa[2]'s OpenGL test suite โ to test multiple OpenGL flavors in a cross-platform way, and to allow each Piglit test to choose its OpenGL API and window system at runtime. no cap.
a future goal (yes she's manifesting ๐ฎ) is to enable the ability to record, with another tool such as APITrace[3], an application's OpenGL calls on one operating system or window system, and then replay that trace on a different system. iconic.
also: waffle[4]'s website. go look at it, she's cute ๐
๐ EXAMPLES ๐
your distro should have installed example source code that demonstrates how to use waffle at:
/usr/share/doc/waffle-${version}/examples
and you can also find examples[5] in Waffle's source repository ๐ go read them, they ate.
๐ ISSUES ๐
please report bugs or and feature requests to https://gitlab.freedesktop.org/mesa/waffle/issues. (yes, the original literally says "bugs or and" โ I am not fixing it, we respect the source material ๐)
โญ SEE ALSO โญ
- Website:
https://waffle.freedesktop.org/ - Source:
https://gitlab.freedesktop.org/mesa/waffle waffle_feature_test_macros(7)waffle_attrib_list(3)waffle_config(3)waffle_context(3)waffle_display(3)waffle_dl(3)waffle_enum(3)waffle_error(3)waffle_gbm(3)waffle_get_proc_address(3)waffle_glx(3)waffle_init(3)waffle_is_extension_in_string(3)waffle_make_current(3)waffle_native(3)waffle_wayland(3)waffle_window(3)waffle_x11_egl(3)wflinfo(1)
๐ AUTHOR ๐
Chad Versace <chad.versace@linux.intel.com>
- Former maintainer ๐ธ
๐ COPYRIGHT ๐
Copyright ยฉ 2013 Intel
This manual page is licensed under the Creative Commons Attribution-ShareAlike 3.0 United States License (CC BY-SA 3.0). To view a copy of this license, visit http://creativecommons.org.license/by-sa/3.0/us.
๐ง NOTES ๐ง
- Piglit โ
http://piglit.freedesktop.org - Mesa โ
http://mesa3d.org - APITrace โ
http://github.com/apitrace/apitrace#readme - waffle โ
https://waffle.freedesktop.org - examples โ
https://gitlab.freedesktop.org/mesa/waffle/tree/master/examples
and that's the whole page bestie!! this was waffle, version stamped 07/06/2026, under WAFFLE(7) โ love u, go write some cross-platform OpenGL code ๐
โจ๐ฆ
๐ฆ where this page comes from
- ubuntu stonking: libwaffle-doc 1.8.3-1 ยท BSD-2-Clause
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms