NVIDIA Quadro G-Sync II User Guide

wglJoinSwapGroupNV(), glxJoinSwapGroupNV()

This call adds the OpenGL window with the device context hDC to the swap group specified by group. If hDC is already a member of a different group, it is implicitly removed from that group first.

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

 

 

60

Page 67
Image 67
Nvidia 2 manual WglJoinSwapGroupNV, glxJoinSwapGroupNV, WglBindSwapBarrierNV GlxBindSwapBarrierNV