[Bug 5526] RedAlert 2 runs very slowly after upgrade from 0.9.15 to 0.9.16

Wine Bugs wine-bugs at winehq.org
Mon Jul 10 11:39:14 CDT 2006


http://bugs.winehq.org/show_bug.cgi?id=5526





------- Additional Comments From stefandoesinger at gmx.at  2006-10-07 11:39 -------
Well, the ddraw rewrite was also about sharing d3d code between ddraw, d3d8 
and d3d9.

The main idea behind using opengl for ddraw is to handle Blits to the render 
target in hardware, and to have color conversions handled in hardware. This 
can really improve performance, in those games that work I get 500 fps instead 
of 40 fps :-) (Well, swat3 and worms 2 with hacks). There is a hacky patch for 
the old ddraw code which makes it use opengl, and it helped the performance of 
the games mentioned here until the mouse was moved, then they crashed because 
of multithreading issues.

Multithreading was the reason for me to port ddraw over to wined3d. This issue 
is common for all d3d versions, now we have to fix it only once in wined3d and 
it will work for all dx versions :-)


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the wine-bugs mailing list