mesa/st: 2d stuff