Re: penalty for double buffering



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]