DRI For 2D Graphics?
Dan Farrell asks: "I know that we have DRI working good for 3D direct rendering. But DRI is quite a good infrastructure, why aren't we using it for 2D graphics as well? It seems to me that all of the complaints about X would disapprear if we got the Render extention finished, and used DRI to directly render everything(and maybe made X multithreaded and had it automatically re-nice itself... but that is me being greedy). I guess what I want to know is why we aren't using DRI for 2D graphics and video?"
You need a fitting kernel module for your xserver driver, so it will be hard to export DISPLAY to another xserver. With 3D applications as Q3 this is not that important as only few people would like to redirect the screen with all implied fps hit. But being able to export DISPLAY is one of the best and most integrated features of X and shouldn't be dumped.
Just because I can imagine doing a hippopotamus, doesn't mean I'd like to do it.
I'm not sure exactly why you would want to do that. I know some people have quibbled about the fullscreen-only nature of XFree86-DGA and hence looked to DRI, but in most every case there is no point. There isn't any throughput bottleneck for 2D graphics assuming you're using an accelerated driver. Any good video card on the market today approaches the theoretical maximum for 2D performance anyways; that's why OEMs actually marketed their 2D performance 5-6 years ago whereas today it's ignored in favor of 3D acceleration marketese... they all perform the same. The one possible 2D bottleneck is obviously video (especially fullscreen) however that is now handled nicely via through the XVideo extension. Driver support for Xv is not universal but fairly widespread. I'm able to play fullscreen video from a realtime-decompressed DivX stream on my Celeron 400 with no frame drops and .8 processor load using YUV overlays and hardware scaling. There's not much more you can do to make it go faster. I don't think there's really a need for further 2D acceleration.
--
I think there is a world market for maybe five personal web logs.