[cairo] [PATCH] Quartz patchset
jeff at infidigm.net
Thu Jan 14 13:27:48 PST 2010
On 06/01/10 5:14 PM, Andrea Canciani wrote:
> Another patchset to improve quartz.
> 0001 simply uses the new functions available to avoid looping
> indefinitely. Would it make sense to do the dash approximation in an
> upper layer? This would guarantee that backends always get reasonable
> (i.e. within tolerance) dash patterns, which would avoid precision
> problems in vector backends, too (reading svg, ps and pdf I noticed
> that dash patterns are output as %f, so if the pattern is almost
> degenerate, it could be output as only zeroes, leading to invalid
> 0002 makes quartz trivially fallback on EXTEND_PAD surface pattern. I
> hope to improve this when subsurfaces will be available.
I suspect that this will hurt performance for firefox significantly.
Currently we do most of our painting of images with EXTEND_PAD.
More information about the cairo