The Mesa 3D Graphics Library

Development Utilities

Mesa demos collection
includes several utility routines in the src/util/ directory.
Piglit
is an open-source test suite for OpenGL implementations.
ApiTrace
is a project to trace, analyze and debug graphics api's.
Valgrind
is a very useful tool for tracking down memory-related problems in your code.