Gallium Direct3D 9 state tracker