powervr2: Rewrite [O. Galibert]