On Thu, Mar 04, 2004 at 06:03:59AM +0100, Maurizio Monge wrote:
Hi, if found a commented X11DRV_GLX_CreateDriver in the x11drv dll, did anyone try to write a glx backend and stopped for some reason?
I was just planning to write a OpenGL backend for directdraw (i.e. using glDrawPixels, etc), as i think it would be almost as fast as dga and far more stable, but does anyone think it would be a bad idea?
Personally I think it would be a great idea, as doing this through OpenGL is even faster than doing it through DGA. A secondary benefit is that it does not require root if the user is using the DRI. We still need some sort of dumb frame buffer access around for two reasons:
1) not everyone has a card with sufficient 3D capability or any 3D capability at all 2) using 3D can use up a lot of power depending on the video card, and the user might prefer to conserve that power with slower performance.
there are probably others too. but rendering a framebuffer and 2D primitives via opengl sounds like a good plan here.