[cairo] Tessellator performance patch

Keith Packard keithp at keithp.com
Sun Dec 3 21:54:19 PST 2006

On Mon, 2006-12-04 at 06:13 +0200, M Joonas Pihlaja wrote:

> These multiplications are liable to overflow 32 bits and throw 
> off the later sign checks.  Could you replace them with a 64 bit 
> version and rerun your tests?

Given the cost of 64-bit arithmetic, might it also be interesting to try
some 'reduced precision' version of this code by shifting the
coordinates by 16 bits (with suitable rounding, of course)

keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.freedesktop.org/archives/cairo/attachments/20061203/25bb00dd/attachment-0001.pgp

More information about the cairo mailing list