[cairo] After 'set_line_width', subsequent stroking isslow

Emmanuel Pacaud emmanuel.pacaud at lapp.in2p3.fr
Fri Feb 23 02:03:58 PST 2007


Le vendredi 23 février 2007 à 10:32 +0100, Olivier Jolet a écrit :
> > On Thu, 2007-02-22 at 09:54 -0500, Olivier Jolet wrote:
> > >
> > > Here is the application reduced. The important part (the graphics
> > > interpreter) is in the hello.c file in the 'cairo_draw' function.
> The
> > > performances are really different with/out the primitive
> > > cairo_set_line_width (line 175) and using antialiasing or not.
> > 
> > I can't reproduce your numbers.  Perhaps something wrong with your X
> > server?  All the numbers I get with and without set_line_width are in
> > the range of 50 to 80 ms.

Same here, from 70 to 100 ms (worst case being ANTIALIASED_GRAY +
set_linewidth call).

	Emmanuel.

-- 
Emmanuel PACAUD
Groupe Virgo
LAPP/CNRS
9, chemin de Bellevue - BP 110
74941 Annecy-le-Vieux CEDEX
Tél: (+33)4 50 09 17 89 - Fax: (+33)4 50 27 94 95



More information about the cairo mailing list