Xgl and direct rendering

Adam Jackson ajax at nwnk.net
Tue Feb 14 14:59:26 PST 2006


On Tuesday 14 February 2006 16:13, Michael Biebl wrote:
> Adam Jackson wrote:
>
> [..]
>
> > Xgl has no direct rendering support (which is to say, clients connecting
> > to Xgl will not get direct rendering).  Your problem assuredly lies
> > elsewhere.
>
> Judging from Dave's nice little demo where Quake3 runs at decent speed,
> some sort of direct rendering seems to be in use there. Does this maybe
> depend on the used hardware and driver?

In that demo, while Xgl is a direct-rendering client of the backend X server, 
q3 is an indirect-rendering client of Xgl.

The concepts of accelerated and direct rendering are orthogonal.  Direct 
rendering is always accelerated (well, excluding software fallbacks).  
Indirect rendering isn't always.  Xgl, and the aiglx branch of Xorg, 
accelerate indirect rendering; stock Xorg doesn't.

In particular Xgl accelerates indirect rendering iff the backend's GL 
implementation supports the GL_EXT_framebuffer_object extension; currently 
only nvidia's closed driver does, support in DRI should happen soonish.  The 
aiglx branch of Xorg accelerates indirect rendering pretty much all the time, 
but doesn't integrate with Composite correctly yet - again, coming soon.

- ajax
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg/attachments/20060214/d0c328f2/attachment.pgp>


More information about the xorg mailing list