Nvidia 2 manual Configuring for Swap Sync, Frame Counter, Configuring Swap Groups

Models: 2

1 76
Download 76 pages 7.9 Kb
Page 65
Image 65

NVIDIA Quadro G-Sync II User Guide

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 configured as a master device.

Configuring for Swap Sync

Configuring 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().

58

Page 65
Image 65
Nvidia 2 manual Configuring for Swap Sync, Frame Counter, Configuring Swap Groups