Reg: AIGLX architecture & it's difference from DRI

Dave Airlie airlied at
Mon Sep 1 01:26:15 PDT 2008

On Mon, Sep 1, 2008 at 6:08 PM, Mustafizur Rahaman
< at> wrote:
> Hi,
> Can any one please tell me whether there is any document available which
> explains me the AIGLX architecture briefly.What i am looking is if some one
> provides me only a OpenGL driver whether it is easier to build AIGLX on top
> of it or making DRI/DRM kind of framework is easier, provided that i have a
> X window system running below.
> I am also looking for the difference between the DRI & AIGLX
> architecture.E.g, i know that the xserver loads the <hw> when AIGLX
> is enabled and the client app links to the <hw>, when DRI is
> enabled.Is there other differences as well?

No really, AIGLX is part of the DRI architecture.

You have direct rendering and indirect rendering, in the direct
rendering case libGL calls directly into
GL driver, which then calls into the kernel, in the indirect
rendering case libGL calls get send to GLX in the X server,
which sends them to the driver which then calls into kernel.

You can't really write an that only works in AIGLX or DRI,
well you could but it would be pointless.

> Regs,
> M R.
> _______________________________________________
> xorg mailing list
> xorg at

More information about the xorg mailing list