glXSwapBuffers man page on Solaris

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

GLXSWAPBUFFERS(3gl)					   GLXSWAPBUFFERS(3gl)

NAME
       glXSwapBuffers - make back buffer visible

C SPECIFICATION
       void glXSwapBuffers( Display *dpy,
			    GLXDrawable drawable )

PARAMETERS
       dpy	 Specifies the connection to the X server.

       drawable	 Specifies the drawable whose buffers are to be swapped.

DESCRIPTION
       glXSwapBuffers  promotes the contents of the back buffer of drawable to
       become the contents of the front buffer of drawable.  The  contents  of
       the  back  buffer  then	become	undefined.  The update typically takes
       place during the vertical retrace of the monitor, rather	 than  immedi‐
       ately after glXSwapBuffers is called.  All GLX rendering contexts share
       the same notion of which are front buffers and which are back buffers.

       glXSwapBuffers performs an implicit glFlush before it returns.	Subse‐
       quent  GL  commands  can	 be  issued immediately after calling glXSwap‐
       Buffers, but are not executed until the buffer exchange is completed.

       If drawable was not created with respect to a  double-buffered  visual,
       glXSwapBuffers has no effect, and no error is generated.

NOTES
       Synchronization	of multiple GLX contexts rendering to the same double-
       buffered window is the responsibility of the clients.  Use the  X  Syn‐
       chronization Extension to facilitate such cooperation.

       The  X double buffer extension (DBE) has information on which buffer is
       the currently displayed buffer.	This information is shared with GLX.

ERRORS
       GLXBadDrawable is generated if drawable is not a valid GLX drawable.

       GLXBadCurrentWindow is generated if dpy and drawable  are  respectively
       the  display  and  drawable  associated with the current context of the
       calling thread, and drawable identifies a  window  that	is  no	longer
       valid.

SEE ALSO
       glFlush

				   15 Mar 97		   GLXSWAPBUFFERS(3gl)
[top]

List of man pages available for Solaris

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