On Tue, 10 Oct 2006 03:21:40 +0200, "David Turner" wrote: > For the record, the performance patchset I already sent you speeds up gradient > rendering by nearly a factor of 2. If you're still interested, I've uploaded > an updated version which corresponds to the current git repository at the > following address: > > http://david.freetype.org/cairo/cairo-performance-1.patchset ... > Hope you'll find this useful, and that you'll find the time to integrate this to > the Cairo git repository. Yes, very useful, David! I _finally_ got this all integrated into cairo, and yes I see a nice 2x performance improvement for linear gradients: http://gitweb.freedesktop.org/?p=cairo;a=commit;h=e9bef30d2bcdf41c7b7f20b3517839c37e752f75 One of the things I had been waiting for was an improved mechanism for detecting similar but not identical images in the test suite. I've now integrated the "perceptual diff" algorithm into cairo and it does help a bit, (though not as much as I was hoping). If someone wants to fiddle around with it more, that would be great, (just try removing some of the backend-specific reference images and then see if you can get the resulting failures to go away by tweaking pdiff.c). Oh, and I've only committed the gradient improvements from your patch set. For the other stuff, I'd first like to see performance test case that demonstrate the benefit of the patches. Thanks again, -Carl
Attachment:
pgp684a3BHktB.pgp
Description: PGP signature