*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->IRIX man pages -> OpenGL/glxswapintervalsgi (3)              
Title
Content
Arch
Section
 

Contents


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


NAME    [Toc]    [Back]

     glXSwapIntervalSGI	- set a	minimum	time between buffer swaps

C SPECIFICATION    [Toc]    [Back]

     int glXSwapIntervalSGI( int interval )

PARAMETERS    [Toc]    [Back]

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

DESCRIPTION    [Toc]    [Back]

     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    [Toc]    [Back]

     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    [Toc]    [Back]

      
      
     glXMakeCurrent, glXSwapBuffers.


									PPPPaaaaggggeeee 1111
[ Back ]
 Similar pages
Name OS Title
swapinterval IRIX defines a minimum time between buffer swaps
glxjoinswapgroupsgix IRIX synchronize buffer swaps with other drawables
glxbindswapbarriersgix IRIX synchronize buffer swaps with other screens
vxfs_ifree_timelag HP-UX VxFS inode free time lag (specifies the minimum time to be spent on a freelist)
getgconfig IRIX gets the size of a buffer or a state in the current buffer configuration
minval IRIX Returns the minimum value in an array
min IRIX FORTRAN minimum-value functions
min IRIX FORTRAN minimum-value functions
clGetMinMax IRIX Get minimum and maximum values for a parameter
glgetminmaxext IRIX get minimum and maximum pixel values
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service