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 โญ

๐ŸŽ€ AUTHOR ๐ŸŽ€

Chad Versace <chad.versace@linux.intel.com>

  • Former maintainer ๐ŸŒธ

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 ๐Ÿงš

  1. Piglit โ€” http://piglit.freedesktop.org
  2. Mesa โ€” http://mesa3d.org
  3. APITrace โ€” http://github.com/apitrace/apitrace#readme
  4. waffle โ€” https://waffle.freedesktop.org
  5. 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