glXCreateGLXPixmapWithConfigSGIX(3G) OpenGL Reference - GLX
glXCreateGLXPixmapWithConfigSGIX - create an off-screen GLX rendering
area with specified frame buffer configuration
GLXPixmap glXCreateGLXPixmapWithConfigSGIX( Display *dpy,
GLXFBConfigSGIX config,
Pixmap pixmap )
dpy Specifies the connection to the X server.
config Specifies the GLX frame buffer configuration 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.
glXCreateGLXPixmapWithConfigSGIX creates an off-screen rendering area and
returns its XID. Use glXMakeCurrent to associate the rendering area with
a GLX rendering context.
The X pixmap identified by pixmap is used as the front left buffer of the
resulting off-screen rendering area. All other buffers specified by
config, including color buffers other than the front left buffer, are
created without externally visible names. GLX pixmaps with doublebuffering
are supported. However, glXSwapBuffers is ignored by these
pixmaps.
GLX pixmaps are not supported with direct rendering contexts.
glXCreateGLXPixmapWithConfigSGIX is part of the GLX_SGIX_fbconfig
extension.
BadMatch is generated if pixmap was not created with respect to the same
screen as config.
GLXBadFBConfigSGIX is generated if config is not a valid GLXFBConfig.
BadPixmap is generated if pixmap is not a valid pixmap.
Page 1
glXCreateGLXPixmapWithConfigSGIX(3G) OpenGL Reference - GLX
BadAlloc is generated if the server cannot allocate the GLX pixmap.
glXCreateContext, glXIsDirect, glXMakeCurrent, glXCreateGLXPixmap,
glXGetFBConfigAttribSGIX, glXChooseFBConfigSGIX,
glXCreateGLXPixmapWithConfigSGIX
PPPPaaaaggggeeee 2222 [ Back ]
|