Jump to content

  • Log In with Google      Sign In   
  • Create Account


OpenGL and Vsync


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
2 replies to this topic

#1 Facehat   Members   -  Reputation: 696

Like
Likes
Like

Posted 08 August 1999 - 07:55 PM

Hi,
This is more of a windows question, but is there a way to sync SwapBuffers with the vertical retrace period?

Thanks,
--TheGoop


Sponsor:

#2 Lerc   Members   -  Reputation: 122

Like
Likes
Like

Posted 08 August 1999 - 07:48 PM

I think what you're supposed to do is ignore the retrace issue. Hardware OpenGL implentations can wait for the retrace when SwapBuffers is called. Some drivers let the user decide what should happen.

It's yet another idea for an extention. Just a boolean state specifying what the program would like.

You could try and rig some system dependant thing by talking to windows directly but I would doubt you'd have much luck since things like retrace syncing are in directdraw and you can't use directdraw with OpenGL windows (because some OpenGL drivers use directdraw themselves)


#3 druid-   Members   -  Reputation: 122

Like
Likes
Like

Posted 08 August 1999 - 07:55 PM

All ICDs _should_ sync by default. There may be some exceptions, but you shouldn't have to do anything special to sync.

There's an extension to turn it off. Well, to hint at its state really. It doesn't seem to be very well documented. Here's a link I found to a page on the MESA3d site, which seems to be down.
http://www.mesa3d.org/brianp/sig97/exten.htm

------------------
Scott Franke [druid-]
sfranke@usc.edu
druid-'s GL Journal
http://www.gamedev.net/opengl





Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS