glXQueryDrawable man page on IRIX

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



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

NAME
     glXQueryDrawable - returns an attribute associated with a GLX drawable

C SPECIFICATION
     void glXQueryDrawable( Display *dpy,
			    GLXDrawable draw,
			    int attribute,
			    unsigned int *value )

PARAMETERS
     dpy	Specifies the connection to the X server.

     draw	Specifies the GLX drawable to be queried.

     attribute	Specifies the attribute to be returned.

     value	Returns the requested value.

DESCRIPTION
     glXQueryDrawable sets value to the attribute value for draw.

     attribute is one of the following:

     GLX_WIDTH		   Width of draw.

     GLX_HEIGHT		   Height of draw.

     GLX_PRESERVED_CONTENTS
			   True if the contents of GLXPbuffer are preserved
			   when a resource conflict occurs; False otherwise.

     GLX_LARGEST_PBUFFER   Set when the GLX pixel buffer is created by calling
			   glXCreatePbuffer.  When False, glXCreatePbuffer
			   fails if it cannot allocate a GLX pixel buffer of
			   size width by height.  When True, a pixel buffer
			   with the largest width and height possible (but not
			   larger than the values specified) is created when
			   the allocation of the buffer would otherwise fail.

     GLX_FBCONFIG_ID	   XID for draw.

     If draw is a GLXWindow or GLXPixmap and attribute is set to
			   GLX_PRESERVED_CONTENTS or GLX_LARGEST_PBUFFER, the
			   contents of value are undefined. If attribute is
			   not one of the attributes listed above, the
			   contents of value are undefined.

									Page 1

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

ERRORS
     A GLXBadDrawable is generated if draw is not a valid GLXDrawable.

SEE ALSO
     glXCreateWindow, glXCreatePixmap, glXCreatePbuffer, glXGetFBConfigAttrib,
     glXChooseFBConfig

									Page 2

[top]

List of man pages available for IRIX

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