glXSwapIntervalSGI man page on IRIX

Man page or keyword search:  
man Server   31559 pages
apropos Keyword Search (all sections)
Output format
IRIX logo
[printable version]



glXSwapIntervalSGI(3G)	    OpenGL Reference - GLX	glXSwapIntervalSGI(3G)

NAME
     glXSwapIntervalSGI - set a minimum time between buffer swaps

C SPECIFICATION
     int glXSwapIntervalSGI( int interval )

PARAMETERS
     interval  Specifies the minimum number of retraces between buffer swaps
	       invoked by glXSwapBuffers.

DESCRIPTION
     glXSwapIntervalSGI is part of the SGI_swap_control extension.

     glXSwapIntervalSGI causes frames to be displayed at a steady rate,
     provided the time required to draw each frame can be bounded.  It does
     this by specifying a minimum number of retraces between buffer swaps
     invoked by glXSwapBuffers.	 For example, if the interval is 5, the color
     buffers will be swapped at most once every 5 retraces.  The new swap
     interval takes effect on the first execution of glXSwapBuffers after the
     execution of glXSwapIntervalSGI.

     glXSwapIntervalSGI affects only buffer swaps for the current GLX
     drawable.	(Use glXMakeCurrent to make a GLX context and GLX drawable
     current). Note that glXSwapBuffers may be called with a drawable
     parameter that is not the current GLX drawable; in this case
     glXSwapIntervalSGI has no effect on that buffer swap.

     glXSwapIntervalSGI returns an error code if it fails for any reason.
     Otherwise, zero is returned.

ERRORS
     GLX_BAD_VALUE is returned if interval is less than or equal to zero.

     GLX_BAD_CONTEXT is returned if there is no current GLX context.

SEE ALSO
     glXMakeCurrent, glXSwapBuffers.

									Page 1

[top]

List of man pages available for IRIX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net