WGL: correctly check GLX capabilities

Roderick Colenbrander thunderbird2k at gmx.net
Wed Aug 8 09:51:22 CDT 2007


Hi,

As is also described in the patch ATI's GLX support is very bad. They don't 
properly advetises their GLX capabilities which is critical for Wine. The 
current code which I wrote a year ago works around this issue by checking 
client GLX information in case Direct Rendering is supported.

The current workaround causes problems on correctly behaving drivers. For 
instance Nvidia is advertising some GLX client extensions but which it 
doesn't list in the 'common' GLX extensions list on some older hardware. So 
this causes us to advertise unsupported extensions.

This patch makes use GLX in the right way (means not checking client/server 
extensions but the 'common' extensions list). In case of ATI we will fall 
back to the client list in case it doesn't advertise its capabilities.

Regards.
Roderick Colenbrander
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Correctly-check-GLX-capabilities-based-on-GLX-extens.patch
Type: text/x-diff
Size: 9628 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20070808/6ae9c98e/0001-Correctly-check-GLX-capabilities-based-on-GLX-extens.bin


More information about the wine-patches mailing list