[cairo] [PATCH] Quartz patchset
Andrea Canciani
ranma42 at gmail.com
Wed Jan 6 14:14:31 PST 2010
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
output).
0002 makes quartz trivially fallback on EXTEND_PAD surface pattern. I
hope to improve this when subsurfaces will be available.
0003 corrects handling of A8 and A1 sources, as per commit message.
0004 produces no effect in the test suite, but it corrects masking.
This can be notices by applying the generic.patch file (which forces
the masking code to always use mask_generic). Without 0004 there are
regressions in the test suite (see clip-operator,
device-offset-scale).
Comments and reviews are appreciated.
Andrea Canciani
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-quartz-Approximate-dense-dashing-patterns.patch
Type: application/octet-stream
Size: 2206 bytes
Desc: not available
Url : http://lists.cairographics.org/archives/cairo/attachments/20100106/c535cf48/attachment.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-quartz-Fallback-on-padded-surfaces.patch
Type: application/octet-stream
Size: 1049 bytes
Desc: not available
Url : http://lists.cairographics.org/archives/cairo/attachments/20100106/c535cf48/attachment-0001.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-quartz-Improve-A8-and-A1-support.patch
Type: application/octet-stream
Size: 4187 bytes
Desc: not available
Url : http://lists.cairographics.org/archives/cairo/attachments/20100106/c535cf48/attachment-0002.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-quartz-Fix-generic-masking.patch
Type: application/octet-stream
Size: 6741 bytes
Desc: not available
Url : http://lists.cairographics.org/archives/cairo/attachments/20100106/c535cf48/attachment-0003.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: generic.patch
Type: application/octet-stream
Size: 809 bytes
Desc: not available
Url : http://lists.cairographics.org/archives/cairo/attachments/20100106/c535cf48/attachment-0004.obj
More information about the cairo
mailing list