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

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

Contents


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


NAME    [Toc]    [Back]

     glXGetVideoSyncSGI	- obtain value of vertical retrace counter

C SPECIFICATION    [Toc]    [Back]

     int glXGetVideoSyncSGI( unsigned int *count )

PARAMETERS    [Toc]    [Back]

     count  Pointer to variable	which receives the value of the	vertical
	    retrace counter of the graphics pipeline associated	with the
	    current context.

DESCRIPTION    [Toc]    [Back]

     glXGetVideoSyncSGI	is part	of the SGI_video_sync extension.  This
     extension provides	a way to synchronize with the video frame rate of a
     monitor (in the case of an	interlaced display, the	synchronization	is
     actually with the field rate).

     A vertical	retrace	precedes the display of	each video frame.  The kernel
     maintains a 32-bit	unsigned integer counter for each graphics pipe	in the
     system.  This counter is initialized via the /usr/gfx/gfxinit command,
     and incremented upon each vertical	retrace.  Since	all the	video output
     channels of a graphics pipe must be genlocked, one	counter	suffices for
     all the monitors driven by	a pipe.

     A process can query or sleep on the counter of the	graphics pipe
     associated	with its current OpenGL	rendering context, provided that the
     rendering context is direct.  (See	glXCreateContext.)

     If	the current context is direct, glXGetVideoSyncSGI places the value of
     the vertical retrace counter in the location referenced by	count, then
     returns zero.  Otherwise, glXGetVideoSyncSGI returns GLX_BAD_CONTEXT_SGI.


SEE ALSO    [Toc]    [Back]

      
      
     glXWaitVideoSyncSGI, glXCreateContext, glXQueryVersion, glGetString


									PPPPaaaaggggeeee 1111
[ Back ]
 Similar pages
Name OS Title
glxwaitvideosyncsgi IRIX wait for vertical retrace
gsync IRIX waits for a vertical retrace period
tttk_block_while HP-UX block while a counter is greater than zero
evcnt_detach NetBSD generic event counter framework
evcnt_attach_static NetBSD generic event counter framework
evcnt_attach_dynamic NetBSD generic event counter framework
evcnt NetBSD generic event counter framework
ecstats IRIX report global event counter activity
pfm Tru64 The on-chip performance counter pseudo-device
get_cyclecount FreeBSD get the CPU's fast counter register contents
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service