‘But it was too much slower than just drawing lines with z-direction transformation on top of the quads.’
by this is guess youre sticking a slight bias in the matrix, now if youre doing this then the zvalues aint gonna take account of the polygons slopes like they do with glPolygonOffset.
so it maybe faster but mightnt give u as godda result as polygon offset