Re: GtkImage animation performance



On Wed, 2005-03-30 at 22:13 +0200, Sven Neumann wrote:
> Hi,
> 
> Havoc Pennington <hp redhat com> writes:
> 
> > I'm not convinced we understand the 5% vs. 20% difference; there's no
> > reason I know of that queuing the draw should be that much more
> > inefficient. If it is, we should really understand why it's so much
> > slower and address the problem globally.
> 
> I guess that the code that performs better draws to the window
> directly, skipping the gtk+ double buffering routines.
> 
> 

Right, that should be easy to test - Tommi, try with
gtk_widget_set_double_buffered() ?

I bet double buffering is useless for GtkImage anyhow since the expose
handler only calls a single drawing operation...

Havoc





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]