Nvidia 2 WglQuerySwapGroupNV GlxQuerySwapGroupNV, WglQueryMaxSwapGroupsNV GlxQueryMaxSwapGroupsNV

Models: 2

1 76
Download 76 pages 7.9 Kb
Page 68
Image 68

Using the OpenGL Extensions

wglQuerySwapGroupNV(),

glxQuerySwapGroupNV()

This call returns the swap group number and barrier number to which the device context is bound.

Function

B00L QuerySwapGroupNV (HDC hDC, GLuint *group,

 

GLuint *barrier);

 

 

Parameters In

hDC - Device context for the frame lock card, or a

 

window residing on the frame lock card.

 

 

Parameters Out

*group - The group number to which the device

 

context is bound, or assigned.

 

*barrier - The barrier number to which the device

 

context is bound.

 

 

Return Values

TRUE: Success

 

FALSE: Failure. In this case *group and *barrier are

 

undefined.

 

 

wglQueryMaxSwapGroupsNV(),

glxQueryMaxSwapGroupsNV()

This call returns the maximum number of swap groups and swap barriers that are supported by the implementation.

Function

B00L QueryMaxSwapGroupsNV (HDC hDC, GLuint

 

*maxGroup, GLuint *maxBarrier);

 

 

Parameters In

hDC - Device context for the frame lock card, or a

 

window residing on the frame lock card.

 

 

Parameters Out

*maxGroups - The maximum group number

 

supported by the implementation.

 

*maxBarriers - The maximum barrier number

 

supported by the implementation.

 

 

Return Values

TRUE: Success

 

FALSE: Failure. In this case *maxGroups and

 

*maxBarriers are undefined.

 

 

61

Page 68
Image 68
Nvidia 2 manual WglQuerySwapGroupNV GlxQuerySwapGroupNV, WglQueryMaxSwapGroupsNV GlxQueryMaxSwapGroupsNV