GLXCREATEPIXMAP(3gl)GLXCREATEPIXMAP(3gl)NAMEglXCreatePixmap - create an off-screen GLX rendering area
C SPECIFICATION
GLXPixmap glXCreatePixmap( Display *dpy,
GLXFBConfig config,
Pixmap pixmap,
int* attribList )
PARAMETERS
dpy Specifies the connection to the X server.
config Specifies the GLXFBConfig that defines the structure of the
rendering area.
pixmap Specifies the X pixmap that will be used as the front left
color buffer of the off-screen rendering area.
attribList
Specifies a list of attributes for the pixmap.
DESCRIPTIONglXCreatePixmap creates an off-screen rendering area and returns its
XID.
glXCreatePixmap is identical to glXCreateGLXPixmap except that the GLX‐
Pixmap is created with color buffers and ancillary buffers as specified
by config.
attribList has the same structure as described for glXChooseFBConfig.
Currently no attributes are recognized, so attribList must be NULL or
empty (first attribute of None).
NOTESglXCreatePixmap is part of the GLX Version 1.3 command set. The func‐
tion is only valid if the connection supports GLX Version 1.3 or later.
ERRORS
BadMatch is generated if the depth of pixmap does not match the depth
value of config, or if pixmap was not created with respect to the same
screen as config.
GLXBadFBConfig is generated if config is not a valid
GLXFBConfig, or if it does not support pixmap rendering.
BadPixmap is generated if pixmap is not a valid pixmap.
BadAlloc is generated if the server cannot allocate the GLX pixmap.
SEE ALSO
glXCreateNewContext, glXCreateGLXPixmap, glXChooseFBConfig, glXGetFB‐
ConfigAttrib
18 May 01 GLXCREATEPIXMAP(3gl)