[cairo] Another Gradient rendering speedup patch

David Turner david at freetype.org
Fri Feb 23 01:12:24 PST 2007


On Fri, 23 Feb 2007 10:05:29 +0100, "Carl Worth" <cworth at cworth.org> said:
> 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)
> 
> I've taken a very quick look at this, basically only to see if this
> happened to fix the inner-radius bug I mentioned in a very recent
> email message, (it doesn't look like it does).
> 
Nope, the inner-radius bug corresponds to computations performed when
initializing the gradient object, which is performed in a different
source file than the one I modified.

> But do see the test case I provided in my other message. The patch you
> offer here does appear to change the results slightly, which perhaps
> indicates a bug. I haven't looked closely yet, (but will do so after I
> push the new test case).
> 
ok, I'll have a look at it.

Regards,

- David


More information about the cairo mailing list