|This article needs additional citations for verification. (July 2012)|
|License||SGI FreeB License|
GLX (initialism for "OpenGL Extension to the X Window System") provides the interface connecting OpenGL and the X Window System: it enables programs wishing to use OpenGL to do so within a window provided by the X Window System.
Silicon Graphics developed GLX; as of 2011[update] the software has reached version 1.4. GLX, with both DRI and Mesa, has been included in the X.Org Foundation's version of the X Window System since X11R6.7.0, and in The XFree86 Project's version since version 4.0.
On September 19, 2008, SGI created a new SGI FreeB License Version 2.0, which "now mirrors the free X11 license used by X.Org" and "meets the free and open source software community's widely accepted definition of 'free'".
GLX consists of three parts:
- An API that provides OpenGL functions to an X Window System application.
- An extension of the X protocol, which allows the client (the OpenGL application) to send 3D rendering commands to the X server (the software responsible for the display). The client and server software may run on different computers.
- An extension of the X server that receives the rendering commands from the client and passes them on to the installed OpenGL library
If client and server are running on the same computer and an accelerated 3D graphics card using a suitable driver is available, the former two components can be bypassed by DRI. In this case, the client application is then allowed to directly access the video hardware through several API layers.
- Mesa 3D – a free and open-source library which implements a couple of graphical APIs and also the available Free and open-source device drivers: graphics; for a last resort Mesa 3D also offer the usage of software rendering.
- the proprietary device drivers for graphic chips also include an implementation of GLX
- WGL – the equivalent Microsoft Windows interface to OpenGL
- CGL – the equivalent Mac OS X interface to OpenGL
- AIGLX – accelerated indirect GLX rendering (open source)
- GLUT – library of utilities for OpenGL programs
- EGL – a similar cross-platform interface between OpenGL ES or VG and the underlying native platform window system
- OpenGL Graphics with the X Window System (pdf)
- SGI's GLX Project Homepage[dead link]
- OpenGL.org GLX/GLU/DRI documentation website