Re: About gtk_timeout_add



Hi, Havoc

Of course once you have frame-dropping working, you can try to
optimize the rendering of each frame, and you'll end up dropping fewer
of them.

Thanks for your suggestion.
But what i confused is why the gtk_timeout_add(1000/30, ...) can not reach
30 calls/second even if the callback function do nothing?

Paul Lin





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