Re: wined3d: Use OpenGL vendor and renderer to pick driver and description.

2009-04-08 Thread Stefan Dösinger
Am Mittwoch, 8. April 2009 16:16:06 schrieb John Whitlock: > For my curiosity, why can't we use /proc for card detection? Because it isn't portable. Wine runs not only on Linux, but also on Solaris, Mac OS X, *BSD, ...

Re: wined3d: Use OpenGL vendor and renderer to pick driver and description.

2009-04-08 Thread John Whitlock
For my curiosity, why can't we use /proc for card detection? If the right thing to do is create a device string database, then it seem the registry override patch is the way to go. This way, the bug is addressed today and users can move on. In the future, when the device string database is in pl

Re: wined3d: Use OpenGL vendor and renderer to pick driver and description.

2009-04-08 Thread Roderick Colenbrander
Hi John, First of all this are basically two changes in one patch. Keep the vendor one separated from the device string. Second the opengl renderer string shouldn't be directly returned. In short d3d apps can query the pci id and opengl doesn't expose it (we aren't allowed to use /proc for card de