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 \m[blue]Piglit\m[]\s-2\u[1]\d\s+2, \m[blue]Mesa\m[]\s-2\u[2]\d\s+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 \m[blue]APITrace\m[]\s-2\u[3]\d\s+2, an application's OpenGL calls on one operating system or window system, and then replay that trace on a different system.
\m[blue]waffle\m[]\s-2\u[4]\d\s+2'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 \m[blue]examples\m[]\s-2\u[5]\d\s+2 in Waffle's source repository.
Please report bugs or and feature requests to \m[blue]https://github.com/waffle-gl/waffle/issues\m[].
Website: http://www.waffle-gl.org
Source: git://github.com/waffle-gl/waffle
Chad Versace <[email protected]>
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 \m[blue]http://creativecommons.org.license/by-sa/3.0/us\m[].
Piglit
http://piglit.freedesktop.org
Mesa
http://mesa3d.org
APITrace
http://github.com/apitrace/apitrace#readme
waffle
http://www.waffle-gl.org
examples
https://github.com/waffle-gl/waffle/tree/master/examples