When I said Cairo felt rather slow, I was comparing it again fully hardware accelerated solutions.&nbsp;<div><br></div><div>With Cairo I am unable to perform full smooth screen redraws of even just a single solid rectangle, and when you are making ZUI (zoomable user interfaces), full screen redraws are not uncommon. &quot;Smooth&quot; here means at least 30 frames per second, but preferably 60 frames per second. It seems not the number of shapes that are rendered is the bottleneck, but the amount of pixels covered. At least that is what I noticed. I guess this is because it is a 100% software renderer, and it might have to perform per pixel conversion when copying to the video card, but I really don&#39;t know.</div>
<div><br></div><div>It is funny that even the oldest computers outperformed modern desktops in some way. For example on my good old Commodore Amiga (rip) computer a text editor existed that allowed really smooth scrolling of the text (CygnusEd), something I haven&#39;t seen on any modern desktop.&nbsp;It&#39;s weird we accept the shaky movements of gui elements on almost all operating systems... although with the iPhone, OSX and maybe Windows 7 this will soon be over (not sure about Linux variants, I haven&#39;t followed these).</div>
<div><br></div><div>IMO the future is fully hardware accelerated rendering on the GPU, like&nbsp;<span class="Apple-style-span" style="border-collapse: collapse; ">OpenVG. It will take a while before it is common to see glyphs being rendered on the GPU, but I&#39;m sure this is all doable.</span><br>
</div><div><br></div><div><div><div><div class="gmail_quote">2009/1/31 Rick R <span dir="ltr">&lt;<a href="mailto:rick.richardson@gmail.com">rick.richardson@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Cairo is now the graphics back end for Firefox, yes? I thought moving to Cairo resulted in a considerable rendering speedup for FF. <br><div><div></div><div class="Wj3C7c"><br><div class="gmail_quote">On Fri, Jan 30, 2009 at 6:31 PM, Peter Verswyvelen <span dir="ltr">&lt;<a href="mailto:bugfact@gmail.com" target="_blank">bugfact@gmail.com</a>&gt;</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">I found Cairo rather slow, even on the fastest hardware.<br>
<br>
Maybe OpenVG will take off one day:<br>
<a href="http://www.khronos.org/openvg" target="_blank">http://www.khronos.org/openvg</a><br>
<br>
<br>
2009/1/30 Bryan O&#39;Sullivan &lt;<a href="mailto:bos@serpentine.com" target="_blank">bos@serpentine.com</a>&gt;:<br>
<div><div></div><div>&gt; Hi, Antony -<br>
&gt;<br>
&gt; It&#39;s good to see you active on here.<br>
&gt;<br>
&gt;&gt;<br>
&gt;&gt; It&#39;s not clear to me if the Cairo API in its current form supports<br>
&gt;&gt; vector-level clipping or constructive area geometry, [...]<br>
&gt;<br>
&gt; The Cairo clipping API is very PostScripty; you set up a path and then turn<br>
&gt; it into a clip region instead of filling it. You don&#39;t end up with a<br>
&gt; first-class value, but a manipulation of the implicit global rendering<br>
&gt; state. For CAG-style operations, <a href="http://lib2geom.sourceforge.net/" target="_blank">http://lib2geom.sourceforge.net/</a> would be a<br>
&gt; better bet, but FFIing to a library written in C wouldn&#39;t necessarily be a<br>
&gt; real improvement over just writing a CAG library natively. I think it would<br>
&gt; be true to say that you can&#39;t quite get everything you would want in one<br>
&gt; easy-to-use place, then.<br>
&gt;<br>
&gt;<br>
</div></div><div><div></div><div>&gt; _______________________________________________<br>
&gt; Haskell-Cafe mailing list<br>
&gt; <a href="mailto:Haskell-Cafe@haskell.org" target="_blank">Haskell-Cafe@haskell.org</a><br>
&gt; <a href="http://www.haskell.org/mailman/listinfo/haskell-cafe" target="_blank">http://www.haskell.org/mailman/listinfo/haskell-cafe</a><br>
&gt;<br>
&gt;<br>
_______________________________________________<br>
Haskell-Cafe mailing list<br>
<a href="mailto:Haskell-Cafe@haskell.org" target="_blank">Haskell-Cafe@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/haskell-cafe" target="_blank">http://www.haskell.org/mailman/listinfo/haskell-cafe</a><br>
</div></div></blockquote></div><br><br clear="all"><br></div></div><font color="#888888">-- <br>We can&#39;t solve problems by using the same kind of thinking we used when we created them. <br> &nbsp; &nbsp;- A. Einstein<br>
</font><br>_______________________________________________<br>
Haskell-Cafe mailing list<br>
<a href="mailto:Haskell-Cafe@haskell.org">Haskell-Cafe@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/haskell-cafe" target="_blank">http://www.haskell.org/mailman/listinfo/haskell-cafe</a><br>
<br></blockquote></div><br></div></div></div>