Re: [AD] GDI fix

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


Matthew Leverton wrote:
On 7/8/07, Matthew Leverton <meffer@xxxxxxxxxx> wrote:
To sum it up, there is a problem with the GDI driver blitting a
rectangle smaller than the bitmap's height that touches the bottom
left corner of a bitmap. The attached patch fixes it. (Only tested
under Vista.)

Attached is an alternative patch that only uses flipped blitting when
needed. While I didn't notice any performance differences with the
demo, the person reporting the problem said the new blitting dropped
his fps from 250 to 180. The either-or case (as attached now) only
dropped it to 240. [Note that we are probably comparing different
compilers with the 250 to 240 numbers.]

Just out of intertest, does the patch fix the bug I mentioned in the following post:
http://sourceforge.net/mailarchive/message.php?msg_name=43CBF2AE.6050709%40mailbag.wackonet.net
(btw: The images are still up)

It's effects could be seen on Windows 2000, but not on Windows 98.

AE.




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/