[cairo] basic question?

David Björkevik david at bjorkevik.se
Wed Aug 19 01:19:38 PDT 2009


Charles سمير Doutriaux wrote:
> Actually, speed is not the only issue, the way our software is designed
> there's a LOT of polygons to fill and it is more pleasant to the user to
> see the image pop up finished instead of looking at it being drawn.

So you want to use double buffering. This can be done using the image
surface or an Xlib surface (see the cairo function for creating a
"similar" surface). And the Xlib surface should still be faster for most
setups.

/David


More information about the cairo mailing list