http://bugs.winehq.org/show_bug.cgi?id=21515
P.Panon ppanon@shaw.ca changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #26021|0 |1 is obsolete| |
--- Comment #37 from P.Panon ppanon@shaw.ca 2010-02-07 11:32:27 --- Created an attachment (id=26108) --> (http://bugs.winehq.org/attachment.cgi?id=26108) Patch for setting DirectX device impersonation according to Mesa driver renderer string
There's still more to do but it should indicate if I'm on the right track. In addition to the splitting of the card_vendor & gl_vendor previously discussed, I also figured it would make sense to add a new GL_VENDOR_APPLE for GL drivers on the Apple platform and moved the code from match_apple() into it. That simplifies a lot of the match_...() functions, but it does make wined3d_guess_card a lot more tricky. I wasn't sure which of the vendor conditions in the latter applied to gl_vendors vs. card_vendors. I figured I would get something out that cruiseoveride can test, but that the guess card tests should probably be broken out into seperate card-vendor-based functions so that the proprietary ATI, NVidia, and Intel card-vendor based tests can be reused whether it's for a proprietary Linux driver or a proprietary Apple driver (i.e. GL_VENDOR_ATI vs. GL_VENDOR_APPLE) in a way that's more readable than my temporary hack.
Either this way or broken out, the final patch probably needs to be tested on a number of platforms to make sure it hasn't broken detection for those.
Looks like my Mesa/ATI setup is borked since it doesn't return the same values as cruiseoverride's so I'll need to figure that out first. Perhaps soemone else can clean up my patch in the meantime.