waffle
7
waffle
a library for selecting an OpenGL API and window system at runtime
Waffle Manual
waffle
#include <waffle.h>
Link with -lwaffle-1.
Description
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,
Mesa'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,
an application's OpenGL calls on one operating system or window system, and then replay that trace on a
different system.
waffle's website.
Examples
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
in Waffle's source repository.
See Also
Website: http://people.freedesktop.org/~chadversary/waffle
Source: git://github.com/waffle-gl/waffle
waffle_feature_test_macros7
waffle_attrib_list3,
waffle_config3,
waffle_context3,
waffle_display3,
waffle_dl3,
waffle_enum3,
waffle_error3,
waffle_gbm3,
waffle_get_proc_address3,
waffle_glx3,
waffle_init3,
waffle_is_extension_in_string3,
waffle_make_current3,
waffle_native3,
waffle_wayland3,
waffle_window3,
waffle_x11_egl3
wflinfo1,