Improved performance for Mesa 3D.