http://bugs.winehq.org/show_bug.cgi?id=421
------- Additional Comments From damjan.jov@gmail.com 2006-06-11 09:16 ------- Since this is the place for discussing DIB engine related stuff, I'm posting here to make you aware of the following.
On bug 3902, a pretty long discussion took place about the slowness of Heroes of might and magic 4, which was caused by a lot of copying between DIBs and X11 pixmaps.
2 patches were made, one started by Iulian and finished by me, that calculates the dirty rectangle of a bitmap before copying it, so less data has to be copied. That patch would have to be extended significantly (every GDI function has to set/clear the dirty rectangle), but people have reported improved performance with just BitBlt setting/clearing the rect.
The other patch, which was committed today, was made by me, and it does client-side copying of 15/16/24/32 bpp bitmaps (if you ever saw the "fixme: potential optimization - client-side DIB copy", that's where it will help). This patch vastly improves the performance of Heroes 4.
So can you please test all slow-running apps against the latest Git (or alternatively against wine 0.9.24 patched with the client-side DIB copy patch from bug 3902) and report how much it helps?