glXDisableXineramaSUN man page on SunOS

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

GLXDISABLEXINERAMASUN(3gl)			    GLXDISABLEXINERAMASUN(3gl)

NAME
       glXDisableXineramaSUN - Disable Xinerama support in OpenGL

C SPECIFICATION
       int glXDisableXineramaSUN( Display *dpy )

PARAMETERS
       dpy  Specifies the connection to the X server.

DESCRIPTION
       The glXDisableXineramaSUN function disables Xinerama support in OpenGL,
       so that OpenGL only renders to a sub-window which is bound with	OpenGL
       context	in multi-screen Xinerama environment.  The glXDisableXinerama‐
       SUN function has no effect on OpenGL render  behavior  in  non-Xinerama
       environment.

       This function must be called before any other GLX functions except glX‐
       InitThreadsSUN, glXQueryExtension and glXGetClientString in a  GL  pro‐
       gram, and it must complete before other GLX/GL call is made. This func‐
       tion returns a nonzero status if initialization was successful;	other‐
       wise, it returns zero.

       This  function  is  only	 client	 side  so  the extension string can be
       retrieved using glXGetClientString. Typical usage:

       #ifdef GLX_SUN_disable_xinerama
	   if ( strstr ( glXGetClientString (dpy, GLX_EXTENSIONS),
		      "GLX_SUN_disable_xinerama" ) ) {

	       if ( ! glXDisableXineramaSUN (dpy) ) {
		printf ("Fail to disable OpenGL Xinerama support\n");
	       }
	   }
       #endif

NOTES
       glXQueryExtensionsString does not show a string for this function since
       this function is client side only.

       glXDisableXineramaSUN  is  part	of the GLX_SUN_disable_xinerama exten‐
       sion, not part of the core GL command set.  If GLX_SUN_disable_xinerama
       is  included  in the string returned by glXGetClientString, when called
       with argument GLX_EXTENSIONS, extension glXDisableXineramaSUN  is  sup‐
       ported by the connection.

SEE ALSO
       glXGetClientString,  glXQueryExtension,	glXQueryExtensionsString, glX‐
       InitThreadsSUN

				   18 Aug 00	    GLXDISABLEXINERAMASUN(3gl)
[top]

List of man pages available for SunOS

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