[cairo] Minor optimization for pixman_transform_point

Jeff Muizelaar jeff at infidigm.net
Fri Aug 5 12:31:25 PDT 2005


On Fri, Aug 05, 2005 at 07:19:48AM -0700, Carl Worth wrote:
> Here's something I just ran across while looking at some code.
> 
> I haven't done any benchmarking to see if this helps, but avoiding
> 64-bit division when possible seems like a good thing to me.
> 
> I also haven't looked at the xserver code yet to apply this there as
> well.
> 
> So I'm just throwing this out there for the benefit of those who are
> actually doing real work with libpixman.
> 

The new code from fbcompose.c doesn't seem to use PictureTransformPoint
(the xserver equivalent to pixman_transform_point) anymore. Though this
could very well be a good patch to get into xserver just the same.

-Jeff



More information about the cairo mailing list