PDA

View Full Version : GLXTimer CPU 100%



tangata
08-03-2004, 09:32 AM
Hi,
I am new to the world of OpenGL and GLXtreem. Forgive me if I am asking a completely stupid question.

Whenever I use a GLXTimer component in my Delphi application the CPU utilization jumps to 100%. It does not matter what interval I set either.


Am I doing something wrong? or missing a vital step?


-I did test most of demo apps and noticed the same problem.

Tokter
08-03-2004, 02:19 PM
That's just how this timer works, if you set the interval > 0 then this timer
will spend your idle time checking if the time since the last rendering is >= your set Interval.
Usualy you want your game have the highest possible fps and will set the interval to 0. If you need a specific frame rate then you could use the system timer but with this timer you get a max resolution of about 10ms = 100fps...