[cairo] New tessellator work and thoughts

M Joonas Pihlaja jpihlaja at cc.helsinki.fi
Mon Nov 20 21:13:04 PST 2006


On Mon, 20 Nov 2006, Behdad Esfahbod wrote:

> My first thought reading the new tesselator code was that this can be
> done using one random() call since you need two 16-bit random numbers,
> so a good 32-bit one will do.  May save your approach a multiply too.

Oh yeah, good idea.  Hm, that would limit the maximum number of 
skip list levels to 16 though, but that in itself might pay off 
since it'd have to be one mean polygon to have that many 
intersections or active line segments.

Joonas


More information about the cairo mailing list