BuGLe is a tool for OpenGL debugging, implemented as a wrapper library that sits between your program and OpenGL. Although it's still in development, the Web site states that it already can do the following:
- Dump a textual log of all GL calls made.
- Take a screenshot or capture a video.
Read more at Linux Journal