[Xorg] X on OpenGL

Michel Dänzer michel at daenzer.net
Sat Jul 10 02:51:47 PDT 2004


On Fri, 2004-07-09 at 23:20 -0400, Adam Jackson wrote:
> 
> On Friday 09 July 2004 20:49, Andy Sy wrote:
> >
> > Right... glReadPixels, glCopyPixels and glDrawPixels... however
> > everyone says that implementations of these are dog-slow (abuse
> > of the hardware) and you're better off writing to a texture (which
> > is kludgy in many contexts)...
> >
> > <snip>
> >
> > Why is it that OpenGL drivers seem to universally have this behaviour?

Maybe because they aren't crucial to the performance of the average
first person shooter? ;)


> DRI is quite flexible, things like DGA and XV could be implemented in terms of 
> the DRI framework.  DRI just happens to get used to implement fast GL 
> drivers.  It might be more accurate to say that the goal is to make the X 
> server a DRI client rather than an OpenGL app.

That would be a bad idea IMHO. We have this widely used and extensible
API called OpenGL, why move ourselves into a corner by depending on DRI
specific APIs?


-- 
Earthling Michel Dänzer      |     Debian (powerpc), X and DRI developer
Libre software enthusiast    |   http://svcs.affero.net/rm.php?r=daenzer





More information about the xorg mailing list