Results 1 to 2 of 2

Thread: GLXTimer CPU 100%

  1. #1

    GLXTimer CPU 100%

    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.

  2. #2

    GLXTimer CPU 100%

    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...

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •