Keith Whitwell wrote:
Is there any reason why these things are extern references rather than parameters to an initialization function?

Basically by making them extern references, it means that the files cannot be compiled into a driver which doesn't use them - I guess this is the reason behind the recent rework of common/Imakefile.inc.

It also means that you can't have two drivers for two different cards loaded in simultaneously, making hw-accelerated multihead impossible.

This is of course not true. I'm grumpy today. But I would prefer not to have the circular situation of the driver referring to symbols in common/ and to have common/ referring back to symbols defined in the driver.


Keith




------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Dri-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to