Hello again. Today I got following questions: 1.Which version of OpenGL is wine written in? 3.1? 3.0? 2.1? 2.0? Lower maybe? 2.Is wine using custom OpenGL extensions? From which vendors (NVIDIA I guess, ATI, S3, INTEL or others as well?)? 3.What is the minimum OpenGL version to run DX2/3/6/7,DX8,DX8.1 and DX9.0 apps? (I guess for OpenGL apps it doesn't really matter right? You are just wrapping it to native OpenGL commands probably ? correct?) Can somebody answer that ? I'm very curious, also it may help me write my wine-apps-manager (Yes, I'm trying to write something like that, if I ever finish it, I will release it ? right now it is a mess), if you can, please answer. Thanks in advance as always. Best regards and sorry form my English -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://www.winehq.org/pipermail/wine-users/attachments/20090423/276a4215/attachment.htm>
James Huk wrote:> Today I got following questions: > 1.Which version of OpenGL is wine written in? 3.1? 3.0? 2.1? 2.0? Lower > maybe?ATM up to 2.1. James Huk wrote:> 2.Is wine using custom OpenGL extensions? From which vendors (NVIDIA I guess, ATI, S3, INTEL or others as well?)?Yes. James Huk wrote:> 3.What is the minimum OpenGL version to run DX2/3/6/7,DX8,DX8.1 and DX9.0 apps?Any. Wine will report and support only features that are available. James Huk wrote:> (I guess for OpenGL apps it doesn't really matter right? You are just > wrapping it to native OpenGL commands probably ? correct?)Correct, with few minor additions.
James Huk wrote:> 2. You mean you are using extensions from all companies in the list above?No. Read the code to see what's used. Nvidia's and ATI's extensions are widely used. Others probably not, since there are none. James Huk wrote:> 3.That is not what I meant ? I mean what is minimum OpenGL version to ?emulate?(yes I know, we are not emulation anything) ALL features of:Any working. You can have dx9 on non-gpu card. But none of the T&L features will be supported.
Whether certain cards are supported well in Wine depends mostly on whether the Linux video drivers for that card support OpenGL/3D capabilities well... For example, my cheap integrated Intel chip seems to work fairly well with Wine D3D apps.
James Huk wrote:> Thanks once again, LAST question ? if I get you all correctly, then graphics > problems with ATI/Intel and other hardware are only driver related (well OK, > maybe with Intel also HW related) or maybe mesa/dri itself is simply not up > to the challenge?Mostly drivers, as HW provides most of the required functionality. Or it's emulated via drivers. Also there are cases of different behavior between different vendor's drivers. Some match DX behavior some don't. While OpenGL doesn't explicitly specify which is correct. Also some nVidia extensions implement missing from OpenGL features. While neither ATI nor Intel provide those. And don't discount Wine - it has lots of bugs that show up on one or the other card. Somewhere it could be combinations of Wine's limitations and game requirements. Somewhere it's a dumb assumptions on game developer's side.