Re: Buying a graphics card for Wine: ATI vs nVidia

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



For Red Alert the DIB engine is not a solution. The game can be very fast using opengl and that's the way to go. There are several things which are holding it back for both gdi and opengl rendering.

One of the main issues is that Red Alert uses 'LockRect / UnlockRect'. Using these calls a game can directly access video memory. What happens in Wine is that for each change (even when it is just a minor one) we refresh the whole frame. We need to track what areas have really changed (that's what is happening on Windows too) but it is very tricky as you would need to trigger 'segmentation faults' for this.

In case of opengl one extra limitation is that the game is multithreaded and that means we have to switch opengl contexts dozens of times a second which is very expensive.






[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux