[maemo-developers] [maemo-developers] Cairo benchmarking

From: Matthew Allum mallum at gmail.com
Date: Thu Oct 27 23:47:41 EEST 2005
Hi;

On 10/27/05, Kalle Vahlman <kalle.vahlman at gmail.com> wrote:
> 2005/10/27, Matthew Allum <mallum at gmail.com>:
> > Hey;
> >
> >  Though internally cairo is mostly fixed point, its api is floating point -
> > the 770 ( like most ARM devices ) lacks an FPU and thus any FP operations (
> > especially with hardfloat ) are slooooowww and really should be avoided.
>
> Yes, I'm painfully aware of that ;)
>
> Although I was also under the impression that cairo would be utilizing
> floats heavily on the inside, which does not seem to be all true.

For simple static images it not gonna be too much of a problem ( FP
API ) but in an animation where things are getting called over and
over again its pain :(.

Its kind of dissapoiting cairo never got a fixed point api ( though it
probably would have seemed a little wierd to lucky FPU owning folks )
. A possible future solution could be a GL like api offering similar
api calls but each taking different argument types ( fixed and float
).

  -- Matthew

More information about the maemo-developers mailing list