[PATCH] winex11: Make MapColor fall back to GetNearestIndex
Alex Henrie
alexhenrie24 at gmail.com
Thu Sep 29 12:17:26 CDT 2011
2011/9/29 David Kiefer <hevanen at googlemail.com>:
> A possible solution is to have MapColor call GetNearestIndex as a last
> resort instead. This both fixes the problem and results in acceptable
> performance.
Thanks for the tip. I've submitted a new patch which uses this
solution instead, and it works better.
2011/9/29 Roderick Colenbrander <thunderbird2k at gmail.com>:
> I'm not really sure how useful it is to try to optimize parts of the
> X11 code now that the DIB engine is progressing nicely. Once the DIB
> engine is done this code will disappear anyway. No need for horrible
> X11 hacks to offload any DIB rendering and converting the X11 result
> back into a DIB.
You're right: the DIB engine would be much better. What needs to be
done to get the DIB engine to work with Age of Empires II?
-Alex
More information about the wine-devel
mailing list