you could look at Gallium3D.