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: Sat, 13 Dec 2003 21:31:15 -0800
Russell Shaw wrote:
Make a timer with timer=g_timer_new(), then put things like
t0=g_timer_elapsed(timer)
everywhere in the code, then have: g_printf("Time: %f %f
%f\n",t3-t2,t2-t1,t1-t0)
in the 50Hz loop somewhere.
I know the performance hit is in gdk_window_invalidate_rect(), I just
don't know why it's as big as it is.
Steve
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]