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

  man pages->IRIX man pages -> standard/mswapbuffers (3)              
Title
Content
Arch
Section
 

Contents


mswapbuffers(3G)					      mswapbuffers(3G)


NAME    [Toc]    [Back]

     mswapbuffers - swap multiple framebuffers simultaneously

C SPECIFICATION    [Toc]    [Back]

     void mswapbuffers(fbuf)
     long fbuf;

PARAMETERS    [Toc]    [Back]

     fbuf   Expects a bitfield comprised of the	logical	OR of one or more of
	    the	following symbols:

	    DUALDRAW indicates that the	framebuffers of	two pipes are
	    alternately	swapped. This is known as Hyper-Pipline	or Cyclops
	    mode.

	    NORMALDRAW indicates that the normal framebuffer is	to be swapped.

	    OVERDRAW indicates that the	overlay	framebuffer is to be swapped.

	    UNDERDRAW indicates	that the underlay framebuffer is to be
	    swapped.

DESCRIPTION    [Toc]    [Back]

     mswapbuffers exchanges the	front and back buffers of multiple
     framebuffers simultaneously.  Which framebuffers are to have their
     buffers exchanged is specified by the bitfield fbuf, the only argument.
     The normal, overlay, and underlay framebuffers are	specified with
     bitmasks NORMALDRAW, OVERDRAW, and	UNDERDRAW.  These masks	must be	ORed
     together to generate the fbuf argument.  For example, both	the normal and
     overlay framebuffers are swapped by the command: mswapbuffers(NORMALDRAW
     | OVERDRAW).

     mswapbuffers is executed during a vertical	retrace	period that closely
     follows the time of the request (usually the next vertical	retrace).

     mswapbuffers is ignored by	framebuffers that are not in doublebuffer
     mode.

     The DUALDRAW mode interleaves the video output of two graphics pipelines.
     This gives	you the	opportunity to double your graphics performance	or
     increase you scene	complexity without sacrificing display update rate.

SEE ALSO    [Toc]    [Back]

      
      
     doublebuffer, drawmode, swapbuffers, swapinterval

NOTES    [Toc]    [Back]

     The Personal Iris,	Iris Entry, Indy, XL, XS, XS24,	XZ, Elan and Extreme
     systems do	not implement mswapbuffers.

     The DUALDRAW mode is only supported on the	SkyWriter model.  See the
     specific model owners manual for more details.




									Page 1






mswapbuffers(3G)					      mswapbuffers(3G)


									PPPPaaaaggggeeee 2222
[ Back ]
 Similar pages
Name OS Title
cprodm1d IRIX Compute the product of Multiple 1D Fourier transforms with Multiple 1D filters.
sprodm1du IRIX Compute the product of Multiple 1D Fourier transforms with Multiple 1D filters.
mvNumMoviesHint IRIX number of simultaneously-playing movies
glInterleavedArrays Tru64 simultaneously specify and enable several interleaved arrays
glinterleavedarrays IRIX simultaneously specify and enable several interleaved arrays
nkthread HP-UX limits the number of threads allowed to run simultaneously
czclear IRIX clears the color bitplanes and the z-buffer simultaneously
zhgeqz IRIX w(i) B ) = 0 If JOB='S', then the pair (A,B) is simultaneously reduced to Schur form (i.e., A and B are both u
chgeqz IRIX w(i) B ) = 0 If JOB='S', then the pair (A,B) is simultaneously reduced to Schur form (i.e., A and B are both u
nproc HP-UX limits the number of processes allowed to exist simultaneously
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service