Re: OpenGL driver consumes 100% CPU



On Dec 3, 6:16 pm, David Barrett-Lennard <davi...@xxxxxxxxxxxx> wrote:

Are you double-buffering?

Yes.

There are a lot of issues now. One is that the timer may fire while
you're waiting for the vertical refresh. As a result, you'll wind up
never waiting for the timer to fire and always having something for
your code to do. If there's no vertical retrace interrupt on your
hardware, this will burn CPU like crazy.

You need to turn off vsync. If you're getting tearing, you need to
figure out why -- the vsync is solving the problem the wrong way.

DS
.



Relevant Pages

  • Re: Holes
    ... Ani diFranco's song Fuel is about a cemetery which has temporary holes: ... down beneath the impossible pain of our history ... there's a fire just waiting for fuel ...
    (uk.media.radio.archers)
  • Re: Question regarding timer.
    ... When timer's elapsed event is fire at that time in debug window i am ... Means everytime i am reinitializing timer. ... real problem with this approach either. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Question regarding timer.
    ... When timer's elapsed event is fire at that time in debug window i am ... Means everytime i am reinitializing timer. ... real problem with this approach either. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: My Kindle Fire arrived today
    ... the short waiting time between my mammogram and the visit with Dr. W ... Not sure what you mean by the "pulse" feature as I'm still in the ... I actually have my Fire in an old Kindle case. ...
    (sci.med.transcription)
  • Re: MDI - disposing of child windows after a period of inavtivity
    ... timer, then restart it). ... timer will only fire when no action has taken place). ... > All child MDI windows are non-updateable... ...
    (microsoft.public.dotnet.languages.csharp)