[cairo] Another Gradient rendering speedup patch

Carl Worth cworth at cworth.org
Thu Feb 1 16:55:44 PST 2007


On Thu, 01 Feb 2007 11:18:52 +0100, "David Turner" wrote:
> And here's a second one, which depends on the first, that will
> speedup radial gradient fills (on my machine, up to 1.35 speedup
> from the previous patch, and 1.44 from origin)

Thanks David,

It's always nice to find nice performance improvements in my inbox.

But, did you see the earlier not from Tim Rowley about the bug that
was introduced by the last round of linear gradient optimizations:

http://lists.freedesktop.org/archives/cairo/2007-January/009041.html

Apparently, our test suite is not exercising gradients as well as it
should be, (and in particular, the various extend modes).

Tim's message above provides a new test case showing the problem in
the previous optimization with EXTEND_PAD and linear gradients.
Could you take a look at that and see if it's something easy to fix?

In the meantime, I'll write some tests that better exercise the
various gradients and extend modes, and give these new patches a
run-through with those before I push them out.

Thanks,

-Carl
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/cairo/attachments/20070201/2b6276db/attachment.pgp


More information about the cairo mailing list