[cairo] Best strategy for complex screen drawing

Federico Mena Quintero federico at ximian.com
Mon Nov 21 11:49:19 PST 2005


On Mon, 2005-11-21 at 00:20 +0100, Timothée Lecomte wrote:

> Such a drawing with ~10000 polygons (in cairo : filled paths made of 4
> lines) takes approximately 5 seconds with a generic image surface or a
> xlib surface created by gdk (via gdk_cairo_create).

That's horrible performance (0.5 milliseconds per polygon).  We should
be able to provide a really fast, all-software implementation of the
image surface.

Have you taken profiles of this?  Gnuplot will certainly be an
interesting use case for Cairo, and it needs to be made fast.

  Federico



More information about the cairo mailing list