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: Nvidia drivers: how to use block transfer?

  1. #1
    Junior Member Regular Contributor
    Join Date
    Feb 2000
    Posts
    124

    Nvidia drivers: how to use block transfer?

    Hello everybody!

    I have a question, which is may be simple to answer.
    I updated the driver of my Nvidia graphics card. The old driver supported page flipping and block transfer for double buffering and I used block transfer. I wrote some OGL programs which use the old picture (I didn't clear the color buffer) for blending to get some nice effects. With page flipping I blend only with every other old picture and get some annoying flickering.
    In the new drivers you can't choose anymore and you always have page flipping.
    Now my question: is there any application specific way to force block transfer? Or is there any other fast way to preserve the old screen contents as a background for the next picture?
    Thank you in advance for any answers!

    Marc

    P.S.: Geforce4 MX, WinXP SP2

  2. #2
    Senior Member OpenGL Guru Relic's Avatar
    Join Date
    Apr 2000
    Posts
    2,527

    Re: Nvidia drivers: how to use block transfer?

    Select a pixelformat with PFD_SWAP_COPY flag, that must not flip.
    ChoosePixelFormat is probably too buggy to take this flag into account. You might need to enumerate pixelformats yourself.

  3. #3
    Advanced Member Frequent Contributor
    Join Date
    Oct 2000
    Location
    Belgium
    Posts
    857

    Re: Nvidia drivers: how to use block transfer?

    Rather than relying on the driver's page flipping behaviour, you might want to save the old image yourself. You can copy it into a texture rectangle, and put it back for the next frame by rendering a fullscreen quad. Alternatively, you can look into the WGL_ARB_buffer_region extension, which also allows you to save and restore the framebuffer.

  4. #4
    Junior Member Regular Contributor
    Join Date
    Feb 2000
    Posts
    124

    Re: Nvidia drivers: how to use block transfer?

    Thank you, I will try it tonight.

Posting Permissions

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