[cairo] Cairo 1.10.0 iPhone

Andrea Canciani ranma42 at gmail.com
Sun Sep 26 03:25:52 PDT 2010


On Sun, Sep 26, 2010 at 12:14 PM, Pavel Kanzelsberger <kanzels at gmail.com> wrote:
> Great, thanks for those tips. I'll check and will also mail you the
> config.log file tommorrow when I'm in the office.
>
> Anyway meantime I notice that Cairo seems to be much faster compared to
> Quartz. When I compile my program with my own cairo backend on MacOSX, CPU
> is at 7% but when I compile it with Quartz backend CPU will go to 50-55%
>
> I'm probably doing something wrong since Quartz is supposed to be hw
> accelerated and Cairo with standard image surface isn't accelerated. Maybe
> Quartz BitmapContext isn't accelerated as well and I should use something
> else....

If you can profile your program or even better provide a trace, we can try to
improve its performance (but it's not unusual for the image backend to be the
fastest one).

See http://www.cairographics.org/FAQ/#profiling for more information about
how to do this.


More information about the cairo mailing list