Nvidia Frame Synchronization User Manual page 38

Table of Contents

Advertisement

QuerySwapGroupNV
This call returns the swap group number and barrier number to which the device context
is bound.
Function
Parameters In
Parameters Out
Return Values
QueryMaxSwapGroupsNV
This call returns the maximum number of swap groups and swap barriers that are
supported by the implementation.
Function
Parameters In
Parameters Out
Return Values
QueryFrameCountNV
QueryFrameCountNV returns in count the current frame counter for swapGroup.
This call returns the current frame count of the swap group.
Function
Parameters In
Parameters Out
Return Values
NVIDIA Corporation
Frame Synchronization User's Guide – Version 3.0
BOOL QuerySwapGroupNV(HDC hDC,
hDC - Device context for the frame lock card, or a window residing on the
frame lock card.
*group - The group number to which the device context is bound,
or assigned.
*barrier - The barrier number to which the device context is bound.
TRUE: Success
FALSE: Failure. In this case, *group and *barrier are undefined.
BOOL QueryMaxSwapGroupsNV(HDC hDC,
hDC - Device context for the frame lock card, or a window residing on the
frame lock card.
*maxGroups - The maximum group number supported by the
implementation.
*maxBarriers - The maximum barrier number supported by the
implementation.
TRUE: Success
FALSE: Failure. In this case, *maxGroups and *maxBarriers are
undefined.
BOOL QueryFrameCountNV(HDC hDC, GLuint *count);
hDC - Device context for the frame lock card, or for a window residing on
the frame lock card.
*count - The current frame count of the swap group.
TRUE: Frame count successfully retrieved.
FALSE: Frame count retrieval failed.
Using the OpenGL Extensions
GLuint *group,
GLuint *barrier);
GLuint *maxGroups,
GLuint *maxBarriers);
C
3
HAPTER
35

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Forceware graphics drivers frame synchronization

Table of Contents