|
|
|
OpenGL/glxgetcurrentdrawable(3) -- return the current drawable
|
|
glXGetCurrentDrawable returns the current drawable, as specified by glXMakeCurrent or by the draw parameter of glXMakeCurrentReadSGI. If there is no current drawable, None is returned. glXGetCurrentDrawable returns client-side information. It does not make a round trip to the server. |
|
OpenGL/glxgetcurrentreaddrawable(3) -- return the current drawable
|
|
glXGetCurrentReadDrawable returns the current read drawable, as specified by read parameter of glXMakeContextCurrent. If there is no current drawable, None is returned. glXGetCurrentReadDrawable returns client-side information. It does not make a round-trip to the server. |
|
|
OpenGL/glxgetfbconfigattrib(3) -- return information about a GLX frame buffer configuraton
|
|
dpy Specifies the connection to the X server. config Specifies the GLX frame buffer configuration to be queried. attribute Specifies the attribute to be returned. value Returns the requested value. |
|
OpenGL/glxgetfbconfigattribsgix(3) -- return information about a GLX frame buffer configuraton
|
|
dpy Specifies the connection to the X server. config Specifies the GLX frame buffer configuration to be queried. attribute Specifies the attribute to be returned. value Returns the requested value. |
|
OpenGL/glxgetfbconfigfromvisualsgix(3) -- return frame buffer configuration that is associated with visual
|
|
dpy Specifies the connection to the X server. vis Specifies the visual that defines the frame buffer resources. It is a pointer to an XVisualInfo structure, not a visual ID or a pointer to a Visual. |
|
OpenGL/glxgetfbconfigs(3) -- list all GLX frame buffer configurations for a given screen
|
|
dpy Specifies the connection to the X server. screen Specifies the screen number. nelements Returns the number of GLXFBConfigs returned. |
|
OpenGL/glxgetselectedevent(3) -- returns GLX events that are selected for a window or a GLX pixel buffer
|
|
dpy Specifies the connection to the X server. drawable Specifies a GLX drawable. Must be a GLX pixel buffer or a window. event_mask Returns the events that are selected for drawable. |
|
OpenGL/glxgetselectedeventsgix(3) -- returns GLX events which are selected for a window or a GLX pixel buffer
|
|
dpy Specifies the connection to the X server. drawable Specifies a GLX drawable. Must be a GLX pixel buffer or a window. mask Returns the events which are selected for drawable. |
|
OpenGL/glxgetvideosyncsgi(3) -- obtain value of vertical retrace counter
|
|
count Pointer to variable which receives the value of the vertical retrace counter of the graphics pipeline associated with the current context. |
|
OpenGL/glxgetvisualfromfbconfig(3) -- return visual that is associated with the frame buffer configuration
|
|
dpy Specifies the connection to the X server. config Specifies the GLX frame buffer configuration. |
|
OpenGL/glxgetvisualfromfbconfigsgix(3) -- return visual that is associated with the frame buffer configuration
|
|
dpy Specifies the connection to the X server. config Specifies the GLX frame buffer configuration. |
|
OpenGL/glxhyperpipeconfigsgix(3) -- Configure a hyperpipe
|
|
dpy Specifies the connection to the X server. networkId Specifies the physical hyperpipe network id. npipes Specifies the number of pipes in the configuration. cfg An array of participating pipes. hpId Returns the hyperpipe id assigned to this configuration. |
|
OpenGL/glximportcontextext(3) -- import another process's indirect rendering context.
|
|
dpy Specifies the connection to the X server. contextID Specifies a GLX rendering context. |
|
OpenGL/glxintro(3) -- Introduction to OpenGL in the X window system
|
|
Below is a minimal example of creating an RGBA-format, X window that's compatible with OpenGL using GLX 1.3 commands. The window is cleared to yellow when the program runs. The program does minimal error checking; all return values should be checked. #include #include #include #include int singleBufferAttributess[] = { GLX_DRAWABLE_TYPE, GLX_WINDOW_BIT, GLX_RENDER_TYPE, GLX_RGBA_BIT, GLX_RED_SIZE, 1, /* Request a single buffered color buffer */ GLX_GREE... |
|
OpenGL/glxisdirect(3) -- indicate whether direct rendering is enabled
|
|
dpy Specifies the connection to the X server. ctx Specifies the GLX context that is being queried. |