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: Vsync and glutSwapBuffers() and glSwapBuffers

  1. #1
    Junior Member Newbie
    Join Date
    Jul 2000
    Location
    Bloomington Indiana, United States of America
    Posts
    12

    Vsync and glutSwapBuffers() and glSwapBuffers

    I have a few questions concerning Vsync as a parameter of glSwapBuffers() and glutSwapBuffers(): (1) Is Vsync a parameter of either of these functions, and if so, is it of a boolean value and (2) if not, how could one synchronize buffer swapping (in double buffer mode) with the vertical refresh of the screen? Thanks for your time and effort!

    --Nate

  2. #2
    Senior Member OpenGL Guru zed's Avatar
    Join Date
    Jul 2000
    Location
    S41.16.25 E173.16.21
    Posts
    2,609

    Re: Vsync and glutSwapBuffers() and glSwapBuffers

    it aint in either
    if youre using windows and your card supports it u can use the winswapinterval extension to swap the buffer with the vsync refresh , sorry donno about other os's

  3. #3
    Junior Member Newbie
    Join Date
    Jul 2000
    Location
    Bloomington Indiana, United States of America
    Posts
    12

    Re: Vsync and glutSwapBuffers() and glSwapBuffers

    I tried to find information on winswapinterval using several opengl sites, search engines, and microsoft developer network documentation, but I cannot seem to find the command or any parameters.

  4. #4
    Junior Member Newbie
    Join Date
    Jul 2000
    Location
    Bloomington Indiana, United States of America
    Posts
    12

    Re: Vsync and glutSwapBuffers() and glSwapBuffers

    After searching for similar commands containing swap interval, I found a site that outlines this command and its relative. (the command is wgl_swap_control)

Posting Permissions

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