[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wine-devel
Subject:    Re: [PATCH] winex11: Make MapColor fall back to GetNearestIndex
From:       Alex Henrie <alexhenrie24 () gmail ! com>
Date:       2011-09-29 17:17:26
Message-ID: CAMMLpeQfamW=7OV4SYijM=BfXekW-P56tdsZWxoZ9KA7iJY6dQ () mail ! gmail ! com
[Download RAW message or body]

2011/9/29 David Kiefer <hevanen@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@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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic