[cairo] [PATCH] Rely less on FPU for common matrix funcs.

Jonathan Morton jonathan.morton at movial.com
Wed Jun 2 04:04:49 PDT 2010


Revised patch attached.

This one uses the slightly dirtier (and faster) method for
_cairo_matrix_is_translate().

It also replaces cairo_matrix_init_identity() with a straight copy from
a global constant reference (it becomes a series of load/store-multiple
instructions).  This reduces it's substantial contribution to our
profile by about half.

-- 
------
From: Jonathan Morton
      jonathan.morton at movial.com



More information about the cairo mailing list