Creates an on-screen GLX rendering area.
OpenGL C bindings library: libGL.a
GLXWindow glXCreateWindow(Display *dpy,
GLXFBConfig config,
Window window,
const int *AttributeList)
The glXCreateWindow subroutine creates an on-screen rendering area and returns its XID. Any GLX rendering context that was created with respect to the config parameter can be used to render into this on-screen area. Use the glXMakeContextCurrent subroutine to associate the rendering area with a GLX rendering context.
Direct rendering contexts cannot be used to render into GLX pixmaps.
BadAlloc | Is generated if the server cannot allocate the GLX window or if window is already associated with another GLX FBConfig (as a result of a previous invocation of glXCreateWindow). |
BadMatch | Is generated if one or more of the following is detected: window was not created with the visual that corresponds to config, if config does not support rendering to GLX windows. |
BadWindow | Is generated if window is not a valid window. |
GLXBadFBConfig | Is generated if config is not a valid GLX FBConfig. |
/usr/include/GL/gl.h | Contains C language constants, variable type definitions, and ANSI function prototypes for OpenGL. |
/usr/include/GL/glx.h | Contains C language constants, variable type definitions, and ANSI function prototypes for GLX. |
The glXCreateNewContext subroutine, glXMakeContextCurrent subroutine.
OpenGL in the AIXwindows (GLX) Environment.