Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Page 3 of 3 FirstFirst 123
Results 21 to 23 of 23

Thread: Need better Performance!!!

  1. #21
    Junior Member Newbie
    Join Date
    Jul 2003
    Location
    New Hope, MN
    Posts
    12

    Re: Need better Performance!!!

    Yeah, its SendMessage which will switch to the target window thread. PostMessage will not switch. If you use SendMessage, make sure to yield your time slice after rendering when there are no messages in the queue, otherwise the thread will sit around doing nothing while waiting for the go ahead to draw the next frame. Using WaitMessage in the window message loop is the best way to do this, otherwise you need to explicitly call Sleep if PeekMessage ends up not having any messages available for processing.

  2. #22
    Senior Member OpenGL Guru
    Join Date
    Dec 2000
    Location
    Reutlingen, Germany
    Posts
    2,052

    Re: Need better Performance!!!

    Originally posted by MichaelK:
    But anyway, KGT: buy a better card, TNTs are pretty old
    No, TNTs are the best cards you can get, AT THE MOMENT!

    Jan.

    PS: Look at KGT´s first post: posted 03-21-2000
    GLIM - Immediate Mode Emulation for GL3

  3. #23
    Junior Member Newbie
    Join Date
    Nov 2003
    Location
    la,ca,usa
    Posts
    7

    Re: Need better Performance!!!

    Originally posted by dbugger:
    This thread is 3 YEARS old! And now the answers starts to drop in . LOL!
    Hey, better late then never!

Posting Permissions

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