[cairo] Performance of the image surface back-end

Emmanuel Pacaud emmanuel.pacaud at lapp.in2p3.fr
Fri Aug 15 07:17:26 PDT 2008


Hi,

Le vendredi 15 août 2008 à 15:20 +0200, Nicholas Allen a écrit :
> I am amazed that our reasonably simple and quick implementations are
> so 
> significantly faster than Cairo's. I realize Cairo is a more generic API 
> but I had expected it to fall back to reasonably efficient 
> implementations for common cases like filling rectangles on pixel 
> boundaries and drawing horizontal and vertical lines. I expect, these 
> are probably the most common cases for operations inside GUI programs 
> where widgets draw and fill rectangles on pixel boundaries and that our 
> application is not unique in these requirements.   I realize that I have 
> not used the latest Cairo but it did not seem from the change log that 
> much work has been done on optimizing the image back-end and I could not 
> find a pre-build 1.7.4 version for Windows.

It would be nice if you could show us the source of the test code you
use, especially the cairo call part.

	Emmanuel.



More information about the cairo mailing list