Reg: AIGLX architecture & it's difference from DRI

Rahaman at
Mon Sep 1 01:40:40 PDT 2008

Hi Dave,

Thanks for the response.

I do not want to write a which will work either with DRI or with
AIGLX.Let's put my questions one by one below..

1>If some one( a vendor) gives me only the OpenGL driver(no DRI/DRM
functionality) implementation, can i use that and build my DRI/DRM
modules i.e. Can i write my own & and still use the vendor
provided OpenGL? Excuse me as some of my questions can be abstarct or
some cases invalid,too as i am new to this area :-(

2>In case of AIGLX, where can i find the code inside xserver where it
redirects the libGL calls to the

3>Can i get a comparison like pros & cons for both the architecture in
different context/use cases?


-----Original Message-----
From: Dave Airlie <airlied at>
To: Mustafizur Rahaman < at>
Cc: xorg at
Subject: Re: Reg: AIGLX architecture & it's difference from DRI
Date: Mon, 1 Sep 2008 18:26:15 +1000

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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the xorg mailing list