A quick Look at Waffle, deferring Choice of GLX, X11/EGL, Wayland/EGL, its use for testing Mesa

A session at X.Org Developer's Conference 2012

Friday 21st September, 2012

3:00pm to 3:30pm (CET)

Waffle is a cross-platform C library that allows GL applications to defer choice of window system until runtime. For example, on Linux, Waffle enables an application to select X11 with GLX, X11 with EGL, Wayland, or (coming soon) GBM. Its API closely resembles EGL.

Waffle will soon replace GLUT in Piglit, Mesa's OpenGL test suite. This will allow one to build Piglit once, then run its tests under different window systems. This will extend Piglit's portability to Wayland, Android, and X11/EGL. Using GBM, one will even be able to run GL tests on headless machines.

Future plans for Waffle is to add the ability to defer the choice of OpenGL API until runtime using a dynamic dispatch mechanism similar to the one currently used in Piglit.

About the speaker

This person is speaking at this event.
Chad Versace

Coverage of this session

Sign in to add slides, notes or videos to this session

Tell your friends!


Time 3:00pm3:30pm CET

Date Fri 21st September 2012

Short URL


View the schedule



See something wrong?

Report an issue with this session