[cairo] Cairo drawing speed

Carl Worth cworth at cworth.org
Fri Dec 11 11:46:35 PST 2009


On Mon, 23 Nov 2009 16:46:12 +0800, Duong Hoang Linh <linh.duong at quantuminventions.com> wrote:
> I have implemented a simple application to draw a set of 90 lines and 
> measure the execution time of drawing using Cairo.

Hi there, thanks for your interest in cairo.

> At the moment, i want to evaluate the performance of Cairo in terms of 
> speed for drawing. And those figures do no impress me since i need to 
> achieve the time execution between 300ms and 500ms. Is there any 
> possible way for speeding up my drawing with Cairo?

Before we could give much of a useful answer, we'd have to know a few
more things about your program, such as:

What kinds of lines? (axis-aligned or not? pixel-aligned? pixel width or
wider/thiner? etc.)

Which backend are you targeting (image? xlib? other?)

The easiest way we could comment on whether there's any performance to
be gained is if you could share your program of interest.

-Carl
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.cairographics.org/archives/cairo/attachments/20091211/eccb818c/attachment.pgp 


More information about the cairo mailing list