AIGLX


Accelerated Indirect GLX is an open source project founded by Red Hat and the Fedora community, led by Kristian Høgsberg, to allow accelerated indirect GLX rendering capabilities to the X.Org Server and DRI drivers. This allows remote X clients to get fully hardware accelerated rendering over the GLX protocol; coincidentally, this development was required for OpenGL compositing window managers to function with hardware acceleration.

Rationale

There are two ways in which a windowing system can allow an OpenGL implementation to talk to the graphics card.
The first is to specify the OpenGL command stream in a portable network-neutral manner using a client/server implementation similar to the X11 drawing routines. This method, used by AIGLX, is indirect in that the drawing commands are sent to the X server and then the X server sends them along to the graphics card.
The second way, which is at the base of Xgl, is to open a window and then allow the OpenGL library to send commands directly to the graphics card.
Accelerating the indirect OpenGL path is orthogonal to how the X server itself is implemented, but it has the side effect of allowing the OpenGL command stream to be more easily captured and redirected to a texture. This allows Compiz and other compositing window managers to be built on top of a traditional X server with a small extension rather than requiring a full Xgl server. This is also an advantage over DRI which bypasses the compositing engine even while providing hardware acceleration.

Deployment

The AIGLX project was merged into X.Org and has been available with X.Org 7.1.
AIGLX needed driver support to run. Specifically, it depended on the OpenGL extension.

Relationship to Xgl

Although the AIGLX project has features similar to Xgl, it was not intended to be a competing product. According to , the project was founded in part because Xgl was written during its final stages "behind closed doors." This lack of peer-review drew criticism claiming to be the root of flaws in the software. An agreement was reached to share the source code between the two projects under the premise that doing so would prevent compatibility conflicts. Xgl was removed from the X Server on June 12, 2008.

History