Re: GtkImage animation performance
- From: Havoc Pennington <hp redhat com>
- To: Sven Neumann <sven gimp org>
- Cc: gtk-devel-list gnome org, "Komulainen Tommi \(Nokia-M/Helsinki\)" <tommi komulainen nokia com>
- Subject: Re: GtkImage animation performance
- Date: Wed, 30 Mar 2005 21:05:57 -0500
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]