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 3 of 3

Thread: of SwapBuffers() and glFlush()

  1. #1
    Junior Member Regular Contributor
    Join Date
    Aug 2000
    Location
    Ocoee, Florida, USA
    Posts
    155

    of SwapBuffers() and glFlush()

    Is glFlush() best called before or after SwapBuffers() or not at all? I've seen it done all three ways. Thanks!

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

    Re: of SwapBuffers() and glFlush()

    Neither. A SwapBuffers pretty much implies that the driver has to do an internal flush. I can't see how you could possibly do an OpenGL implementation where it would be otherwise.

    - Matt

  3. #3
    Junior Member Regular Contributor
    Join Date
    Aug 2000
    Location
    Ocoee, Florida, USA
    Posts
    155

    Re: of SwapBuffers() and glFlush()

    Thanks Matt!

Posting Permissions

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