Re: penalty for double buffering
- From: Steven Jenkins <steven jenkins ieee org>
- To: gtk-app-devel-list gnome org
- Subject: Re: penalty for double buffering
- Date: Mon, 15 Dec 2003 10:08:41 -0800
Olexiy Avramchenko wrote:
I've looked at your code - put gdk_flush() call after gdk_draw_pixmap()
in expose-event handler, times probably will change.
gdk_flush() increases the runtime by a small amount in all cases. It
doesn't affect the double buffering penalty.
As far as I can tell, the application runs fine without double
buffering. So in a sense, turning it off solves the problem. It's an
interesting puzzle, however, in the sense that I think I'd understand
something important if I knew why it happened.
] [Thread Prev