<div dir="ltr">Though I know almost nothing of the cairo inwards I suggest that you investigate the following.<br><ul><li>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.)<br>
</li><li>Try using one of the OpenGL backends for cairo.</li></ul>Regards,<br>Dov<br><br><br><div class="gmail_quote">On Thu, Jan 20, 2011 at 06:01, cs <span dir="ltr"><<a href="mailto:changosurf@gmail.com">changosurf@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div link="blue" vlink="purple" lang="EN-US"><div><p class="MsoNormal">Hello,</p><p class="MsoNormal">
Im new here, and *<b>relatively</b>* new to cairo programming.</p><p class="MsoNormal">I have some questions about performance tuning.</p><p class="MsoNormal"> </p><p class="MsoNormal">I have an application where speed/performance are a very high priority.</p>
<p class="MsoNormal">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 require.</p><p class="MsoNormal">Up until now, we’ve been using GD, and have recently converted over to cairo.</p>
<p class="MsoNormal">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).</p><p class="MsoNormal">
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.</p><p class="MsoNormal"> </p><p class="MsoNormal">
Assuming that we successfully achieve creating a minimal cairo build, should we see an improvement in performance?</p><p class="MsoNormal">Are there any other steps that can be taken in order to improve cairo’s performance?</p>
<p class="MsoNormal">Any help/feedback woul be greatly appreciated…</p><p class="MsoNormal"> </p><p class="MsoNormal">Thanks,</p><p class="MsoNormal">cs</p></div></div><br>--<br>
cairo mailing list<br>
<a href="mailto:cairo@cairographics.org">cairo@cairographics.org</a><br>
<a href="http://lists.cairographics.org/mailman/listinfo/cairo" target="_blank">http://lists.cairographics.org/mailman/listinfo/cairo</a><br></blockquote></div><br></div>