http://bugs.winehq.org/show_bug.cgi?id=34166
--- Comment #26 from A.Steinel A.Steinel@gmail.com --- (In reply to comment #23)
Created attachment 47352 [details] hack
Well, if you want to use hacks, the attached should probably do.
Thank you Henry for this patch. I created a new Wineskin engine and compared the performance for your patch with the reverted patch by Linus (which back introduced the unoptimized behavior but stop flickering) and also vanilla 1.7.11.
At first, both patch attempts resolve the flickering issue (at least for me). I benchmarked it against 'CrystalMark 2004R3' Direct2D test and got (of course) higher frame rates out of your hack than the reverting-patch version. The benchmark can be view here:
https://github.com/lnxbil/WineskinEngines/tree/master/Benchmark-1.7.11
If anyone has a proper benchmark tool, feel free to post your results. I think CrystalMark served its demonstration purpose, yet not more.