[cairo] Speedup _cairo_matrix_to_pixman_matrix

Xan Lopez xan.lopez at gmail.com
Tue Nov 21 12:23:22 PST 2006


Hi Daniel,
In no particular order:
1) You rock
2) If no one beats me to it I'll send some numbers to the list tomorrow with
the patches tested on ARM hardware
3) If you don't get a 770 for Christmas there is no justice in this world :)

Cheers, Xan

On 11/21/06, Daniel Amelang <daniel.amelang at gmail.com> wrote:
>
> Ok, after rounding and glyph transforming dropped off the softfloat
> profile, _cairo_fixed_from_double showed up again (even with the new
> optimization). Most of these calls came from
> _cairo_matrix_to_pixman_matrix, and luckly, most of the time, the
> matrix being converted was an identity matrix, so we can easily solve
> this one by adding a quick check for an identity matrix, and do a fast
> memcpy from a template pixman identity matrix to perform the
> conversion.
>
> Again, I need someone with a Nokia 770 to perform the real test.
> Sorry. If I weren't living off student loans at the moment, I buy one
> in a heartbeat. Maybe Santa Claus thinks I've been a good boy this
> year...
>
> On a side note, I have laying around a version of
> _cairo_fixed_from_double doesn't have any FP operations at all. Once I
> clean it up, I'll submit the patch. Thing is, it slows down systems
> that _do_ have a FPU, so we''ll have to come up with some sort of
> --avoid-fp configure flag to enable paths that run faster on FP
> crippled systems, but slower on those that have an FPU. Either way,
> it's nice to get _cairo_fixed_from_double entirely off FP, and thus
> far away from the top of any profile on softfloat.
>
> Dan
>
>
> _______________________________________________
> cairo mailing list
> cairo at cairographics.org
> http://cairographics.org/cgi-bin/mailman/listinfo/cairo
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freedesktop.org/archives/cairo/attachments/20061121/8e498415/attachment.htm


More information about the cairo mailing list