[cairo] Transform optimization

André Tupinambá andrelrt at gmail.com
Wed Nov 5 15:27:17 PST 2008


Hi everyone,

I'm searching for some opportunities to optimize other pieces of code,
and I'm working now with the transformation code. Checking with VTune,
I saw that a great hotspot at fetching the pixel call (do_fetch). So I
tried to reduce this fetch, checking if I just read this pixel before,
and works well for magnifying (about 2x in Core2 and 1.66x in Turion).

Please check the patch...

Regards,

André Tupinambá
-------------- next part --------------
A non-text attachment was scrubbed...
Name: transform.patch
Type: text/x-patch
Size: 8220 bytes
Desc: not available
Url : http://lists.cairographics.org/archives/cairo/attachments/20081105/e883867d/attachment.bin 


More information about the cairo mailing list