Re: DRI integration
Jon Smirl <jonsmirl-/[email protected]>
| Newsgroups | gmane.comp.freedesktop.xserver |
|---|---|
| Message-ID | <[email protected]> |
--- Owen Taylor <[email protected]> wrote: > Not sure what you mean by "includes font support" here ... having the > window manager / compositing manager composite stuff to the screen > using OpenGL is very reasonable, but that's basically an independent > question from how it draws the window manager decorations. I meant that the font code would be associated with the OpenGL API layer so that if you removed the window manager layer you'd still have font support. As opposed to building the font support into the window manager code. > Note that for this to be useful, we have to get the people > writing binary-only drivers "on board" with the new X server > architecture. The existing drivers attached to the existing > XFree86 server architecture don't do us any good. This won't happen until we have a system running on the open source drivers. > Even if you go fairly radical and say that the only thing that ever > touches the hardware is OpenGL/Mesa, there is a pretty long list of > server architectural issues that need to be addressed: > > - Video card initialization, mode switching, etc. I am working on that right now for Radeon. This involves over 10,000 lines of code so I am doing a lot of it in a user level library. I think it is risky to put 100KB of relatively infrequently used code into a device driver. > - You need to be able to use GL from the X server, something not > yet implemented from DRI. This is why I started posting to xserver. We could make this work for xserver. > - Direct rendering GL clients need to render to an offscreen buffer > that is then fed to the compositing manager as an input. As soon as I get the mode setting code working this is my next project. > - Xv streams need to go to offscreen buffers and get fed to the > compositing manager as input. (This rules out using video features > on a good chunk of older hardware.) this is almost the same problem as the previous one. ===== Jon Smirl jonsmirl-/[email protected] __________________________________ Do you Yahoo!? Protect your identity with Yahoo! Mail AddressGuard http://antispam.yahoo.com/whatsnewfree