NVIDIA Corporation
32
Frame Synchronization User’s Guide
– Version 3.0
C
HAPTER
3
Using the OpenGL Extensions
wglGenlockSampleRateI3D
This call sets the trigger pulse as a function of the specified sync source sampling rate.
wglGetGenlockSampleRateI3D
This call queries the current sync source sampling rate for the trigger pulse.
wglGenlockSourceDelayI3D
This call specifies the delay to apply to the trigger pulse.
Function
BOOL wglGenlockSampleRateI3D(HDC hDC, UINT uRate)
Parameters In
hDC
- Device context for the frame lock card, or a window residing on the
frame lock card.
uRate
- Specifies every
n
th pulse of the sync source signal to use for the
trigger pulse.
For example, if
uRate
were set to a value of 2, every other sync
source pulse would generate a trigger pulse.
uRate
must be in the
range of 1–6.
Parameters Out
Return Values
TRUE:
Success
FALSE:
Failure
Function
BOOL wglGetGenlockSampleRateI3D(HDC hDC, UINT *uRate)
Parameters In
hDC
- Device context for the frame lock card, or a window residing on the
frame lock card.
Parameters Out
*uRate
- The
n
th pulse of the sync source used for the trigger pulse.
For example, if
uRate
were set to a value of 2, every other sync
source pulse would generate a trigger pulse.
Return Values
TRUE:
Success
FALSE:
Failure
Function
BOOL wglGenlockSourceDelayI3D(HDC hDC, UINT uDelay)
Parameters In
hDC
- Device context for the frame lock card, or a window residing on the
frame lock card.
uDelay
- The delay, in pixels, from the sync source trigger edge to the
actual trigger pulse.
Parameters Out
Return Values
TRUE:
Success
FALSE:
Failure