I know applications can enable/disable vsync, but I
didn't find any setting for the user to enable or
disable vsync depending on his/her visual comfort
needs... and the default seems to be disabled!!!!!
To get vsync you set the AGL_SWAP_INTERVAL (for AGL) or
kCGLCPSwapInterval (CGL) to a value other than 0. Typically you set
it to 1, meaning to sync to every retrace. In AGL you use
aglSetInteger, in CGL use CGLSetParameter. I don't know the NSGL
variants if your using Cocoa, but they shouldn't be too hard to find.
There isn't a user control anywhere, because the system does
generally sync to the vertical trace. Only OpenGL contexts default to
no sync, and the developer is expected to provide a user control for
this (or not and always enable/disable vsync).
--
Reality is what, when you stop believing in it, doesn't go away.
Failure is not an option. It is a privilege reserved for those who try.
David Duncan
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Mac-opengl mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/mac-opengl/email@hidden