Nvidia 2 Manuel D’Utilisation

Page de 76
58
Frame Counter
The implementation provides a universal counter, or frame counter, among 
all systems that are locked together by swap groups/barriers. It is based on 
the internal synchronization signal which triggers the buffer swap. 
To obtain the current frame count, call 
wglQueryFrameCountNV(),glxQueryFrameCountNV()().
To reset the frame count back to zero, call, 
wglResetFrameCountNV(),glxResetFrameCountNV()()
.
In a system that has a Quadro G-Sync II device installed and enabled, 
ResetFrameCountNV()
 succeeds only when the frame lock device is 
confi gured as a master device. 
Confi guring for Swap Sync
Confi guring Swap Groups
You can assign an OpenGL window to a swap group. There is a maximum 
number of  allowable swap groups that can be created for any particular 
implementation. With the current hardware, the maximum number of  
swap groups is one.
To determine the maximum swap group number, call
QueryMaxSwapGroupsNV()
To assign a window to a swap group, call
JoinSwapGroupNV()
and specify the swap group number.
If  rendering surface is already a member of  a different group, it is 
implicitly removed from that group. If  the swap group number is zero, 
the rendering surface is removed from the current group.
To query the current swap group, call 
QuerySwapGroupNV()
.
‰
‰
‰
‰
NVIDIA Quadro G-Sync II User Guide