[cairo] performance tuning questions
dov.grobgeld at gmail.com
Wed Jan 19 22:33:01 PST 2011
Though I know almost nothing of the cairo inwards I suggest that you
investigate the following.
- Try using the Anti-Grain Graphics (agg) library instead. When I
benchmarked the two a few years back, agg was substantially faster. Although
I find the agg API much more awkward to use, in terms of functionality and
visual results the two appear equivalent for vector graphics. (For text I
still used pangocairo even when using agg though.)
- Try using one of the OpenGL backends for cairo.
On Thu, Jan 20, 2011 at 06:01, cs <changosurf at gmail.com> wrote:
> Im new here, and **relatively** new to cairo programming.
> I have some questions about performance tuning.
> I have an application where speed/performance are a very high priority.
> This application only uses a few basic drawing/filling routines (no arcs,
> curves, image overlays, etc.), and png is the only output format that we
> Up until now, we’ve been using GD, and have recently converted over to
> Although the quality has greatly improved (thanks mostly to cairo’s
> anti-aliasing), we’ve noticed a significant performance hit (graphics
> processing time has increased noticeably).
> We’ve been using the ‘stock’ cairo libs shipped with our linux distro
> (fedora), and now we’re considering building cairo from scratch & removing
> as many extra features as possible.
> Assuming that we successfully achieve creating a minimal cairo build,
> should we see an improvement in performance?
> Are there any other steps that can be taken in order to improve cairo’s
> Any help/feedback woul be greatly appreciated…
> cairo mailing list
> cairo at cairographics.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cairo