WineD3D: Implement detection of ATI cards with Mesa DRI drivers [try 4]
Roderick Colenbrander
thunderbird2k at gmx.net
Fri Nov 23 15:06:30 CST 2007
> This is an updated version of my previous patch for the same purpose.
>
> The proposed code now uses the WINE_D3DX_CAPABLE macros instead of DRI
> module names for guessing the exact card model which is to be returned.
> The patch also no longer includes manual addition of an entry to the
> ChangeLog. Thanks to Roderick Colenbrander and Stefan Dösinger for the
> suggestions. I have tested and confirmed that this patch fixes the bug
> #7267 (http://bugs.winehq.org/show_bug.cgi?id=7267 ) to the same extent
> as the previous version of the patch did.
I think the code should be like this (in pseudo code) this way also other cards will at least be classified:
case VENDOR_MESA:
if(D3D9_CAPABLE(gl_info)
if(strstr(gl_info->gl_renderer, "R300"))
card = radeon_9500;
else
card = generic_nv_card;
if(D3D8_CAPABLE(...)
if(strstr(gl_info->gl_renderer, "R200"))
card = ...
Roderick
--
GMX FreeMail: 1 GB Postfach, 5 E-Mail-Adressen, 10 Free SMS.
Alle Infos und kostenlose Anmeldung: http://www.gmx.net/de/go/freemail
More information about the wine-devel
mailing list