Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 4 of 4

Thread: Flipping in fullscreen mode

  1. #1
    Junior Member Newbie
    Join Date
    Jan 2001
    Location
    St. Petersburg, Russia
    Posts
    22

    Flipping in fullscreen mode

    Hi!

    Does anybody know how to force accelerator to use flipping instead of copying in fullscreen mode under OpenGL?
    May be this feature is available as extension?
    May be something relating to PFD_SWAP_EXCHANGE / PFD_SWAP_COPY?

    Thanks.

  2. #2
    Senior Member OpenGL Pro
    Join Date
    Sep 2000
    Location
    Santa Clara, CA
    Posts
    1,463

    Re: Flipping in fullscreen mode

    Usually it is automatic, though if you want to be careful you should make sure you don't get a SWAP_COPY pixel format.

    - Matt

  3. #3
    Junior Member Newbie
    Join Date
    Jan 2001
    Location
    St. Petersburg, Russia
    Posts
    22

    Re: Flipping in fullscreen mode

    I have in my TNT2 Ultra absolutely equal formats except that in one PFD_SWAP_COPY flag is set and in the other PFD_SWAP_EXCHANGE is set. But FPS that I get is the same. How could this happen? I believed that SWAP_EXCHANGE if it presents always must be faster than SWAP_COPY. D3D FPS is different on my card for fullscreen mode ( that uses flipping I suppose ) and for the same size windowed ( that uses copy ). It's hard to understand why OpenGL don't use this flipping benefit.

    Thanks.

  4. #4
    Senior Member OpenGL Pro
    Join Date
    Jun 2000
    Location
    Shreveport, LA, USA
    Posts
    1,757

    Re: Flipping in fullscreen mode

    Is OpenGL set to automatically choose? That is an option in the Advanced OpenGL setup for the TNT.

Posting Permissions

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