Matthias Saou wrote:
Hans de Goede wrote :


The idea is not needing any OpenGL libraries I'll admit that this is not really important since OpenGL will be installed on most systems, but the
idea is todo the same with Glide one day. Fedore Core 3 won't install Glide by default so not having to depend on it would be a blessing.


The next step is to make all the dsp and sound mixer plugins real dynamicly loaded plugings so no more deps on esd, arts, alsa libs etc.


Then how much harder would it be to have the display drivers also be
dynamically loadable plugins? Because once you have that, all optional ones
can trivially be split into sub-packages, moving away some dependencies
from the main package.


The display driver are somewhat less modular then the sound drivers, the biggest problem is that the display drivers sometimes need root rights (suid) and thus need to be called before any user input is parsed because of safety reasons, if you can't parse user input you can't select which display driver plugin to use.


You could ofcourse audit all the cmdline parsing code, but that still is no guarantee that it will be 100% safe, just calling vga_init before doing anything else is 99.99% safe since that is what svgalib was designed for.

The same goes for the DGA code and Glide, although the DGA libs and Glide libs have had less auditing then svgalib.

Regards,

Hans


_______________________________________________ Xmame mailing list [EMAIL PROTECTED] http://toybox.twisted.org.uk/mailman/listinfo/xmame

Reply via email to