Nvidia 2 User Manual

Page of 76
60
wglJoinSwapGroupNV(), glxJoinSwapGroupNV()
This call adds the OpenGL window with the device context hDC to the 
swap group specifi ed by group. If  hDC is already a member of  a different 
group, it is implicitly removed from that group fi rst.
Function
B00L JoinSwapGroupNV (HDC hDC, GLuint group);
Parameters In
hDC - Device context for the frame lock card, or a 
window residing on the frame lock card.
group - Swap group number to which the device 
context is to be assigned.
The value must be between 0 and maxGoups
(see wglQueryMzxSwapGroupsNV (), 
glxyQueryMaxSwapGroupsNV ()
Parameters Out
N/A
Return Values
TRUE: Success
FALSE: Failure
wglBindSwapBarrierNV(), 
glxBindSwapBarrierNV()
This call binds a swap group to a barrier.
Function
B00L BindSwapBarrierNV (GLuint group, GLuint 
barrier);
Parameters In
hDC - Device context for the frame lock card, or a 
window residing on the frame lock card.
group - Swap group number that is bound to a 
barrier.
barrier - Barrier number to which the swap group 
is to be bound. Value must be between 0 and 
maxBarrier
(see wglQueryMzxSwapGroupsNV (), 
glxyQueryMaxSwapGroupsNV ()
Parameters Out
N/A
Return Values
TRUE: Success
FALSE: Failure
NVIDIA Quadro G-Sync II User Guide