Are you sure about that?
_driver is a TGraphicsObject, whose method "Flip" is the one we're looking at above.
It seems like there are several recursive calls to the Flip function from within itself.
My guess is that the various globals, namely:
Are somewhere registered with the platform-specific drivers, and an internal buffer swap is called by those drivers when conditions pertaining to the globals are met. Perhaps when _syncFrac = 0.
Gah, where's Mark when you need him?
_driver is a TGraphicsObject, whose method "Flip" is the one we're looking at above.
It seems like there are several recursive calls to the Flip function from within itself.
My guess is that the various globals, namely:
Global _softSync,_syncRate,_syncPeriod,_syncFrac,_syncAccum,_syncTime
Are somewhere registered with the platform-specific drivers, and an internal buffer swap is called by those drivers when conditions pertaining to the globals are met. Perhaps when _syncFrac = 0.
Gah, where's Mark when you need him?