WAFFLE(7) - Linux man page online | Overview, conventions, and miscellany

A library for selecting an OpenGL API and window system at runtime.

WAFFLE(7) Waffle Manual WAFFLE(7)


waffle - a library for selecting an OpenGL API and window system at runtime


#include <waffle.h> Link with -lwaffle-1.


Waffle is a cross-platform library that allows one to defer selection of an OpenGL API and of window system until runtime. 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 combinations. 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. A future goal 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. waffle[4]'s website.


Your distribution should have installed example source code that demonstrates how to use waffle at /usr/share/doc/waffle-${version}/examples. You can also find examples[5] in Waffle's source repository.


Please report bugs or and feature requests to


AUTHOR Chad Versace <> 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


1. Piglit 2. Mesa 3. APITrace 4. waffle 5. examples
waffle 10/19/2017 WAFFLE(7)
This manual Reference Other manuals
waffle(7) referred by 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)
refer to
Download raw manual
Index Waffle Manual (+64) waffle (+65) № 7 (+1560)
Go top