Neal Tringham wrote:
>
> Michael Vance <[EMAIL PROTECTED]> writes
> >If there are any docs out there on digging into the Mesa source, I'd
> >be interested in seeing them. Perhaps I could help write something
> >about the FX driver from what I've learned...
>
> For whatever its worth, what I personally would appreciate is
> documentation on the optimisations which I think were added (mostly by
> Keith Whitwell?) for Mesa 3.1 / 3.2 / etc as opposed to 3.0, with the FX
> stuff used as an example of how to write a driver to integrate with the
> new core code. The new source seems to be sufficiently well optimised
> that its not instantly clear how it works... Or perhaps that's just
> me:-)
>
> (I appreciate that everyone is probably very busy and doesn't have time
> for this sort of thing, but I thought I'd mention it just in case
> someone does feel like doing something along these lines:-))
[Back after a long period of pure driver work]
What are you really asking for? A documentation on the FX driver (there is
lots of stuff in there that I wrote/reworked, but at least as much which I
don't really have much background in), or a guide for how to write a modern
Mesa driver?
If you want to write an optimized driver, I'd suggest looking at either the
MGA or better still the i810 driver, either from the Utah GLX or DRI
repositories on sourceforge - these are both drivers which talk directly to
the hardware without an intervening abstraction layer like glide. Despite
this, they are both simpler and 'saner' than the current fx driver which has
grown a lot of complexity over the years.
Keith
_______________________________________________
Mesa-dev maillist - [EMAIL PROTECTED]
http://lists.mesa3d.org/mailman/listinfo/mesa-dev