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?"
After all, what do most people appear to demand in the computer market? Top notch 3D graphics. State-of-the-art this-and-that. So something that is old school, like, say, television on the PC, is not addressed.
Is this because it's concidered somehow 'passe', or could it simply be that people assume there isn't anything to fix?
It seems that we keep pushing to expand the bounderies of technology, without concidering that there is older stuff that can use a tweek now and then. So who's fault is that?
Fuzzy Knights: New RPG Strips Tuesday and Friday!:
http://www.fuzzyknights.com
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.
outside of irix very few gl drivers are fast at all with 2d, and this includes "workstations" (the HP visualize comes to mind). there are a few cards available for windows that accelerate 2d GL calls like the firegl but for most part GL 2d is much slower than the usuall X11 or whatever windowing systems calls.
we need to get more card manufactureres/driver writers to pay attention to 2d stuff, especially since none of the high end hardware available for linux has open source drivers. sgi,hp,firegl etc all closed source. atis radeon seems to be the best bet we have for source.
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.