[cairo] [PATCH] Performance patch for bo intersections

Baz brian.ewins at gmail.com
Mon Dec 11 17:46:35 PST 2006


Hi,
as requested Carl, this passes make test for me. I just added a couple
of simple heuristic checks for intersecting segments - if their
bounding boxes don't intersect, they can't intersect, and if the
endpoints of segments are coincident, they don't intersect (if I
understand correctly this is because they are start/end points).

For me this patch speeds up the world map, zrusin tests about 10%.

-Baz

PS I'm still new to git. Created this with cg-diff; is this what you want?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: perf.patch
Type: application/octet-stream
Size: 1655 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/cairo/attachments/20061212/4ff15237/perf.obj


More information about the cairo mailing list