Re: [AD] GDI fix

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


My original DLL was built as an optimized DLL using MSVC7.


Kirk Black
President / Owner
Family Time! Interactive, L.L.C.
Mobile: 512.771.5762
Email: kirk@xxxxxxxxxx
Website: www.familytimeadventures.com
-----Original Message-----
From: alleg-developers-bounces@xxxxxxxxxx
[mailto:alleg-developers-bounces@xxxxxxxxxx] On Behalf Of Matthew
Leverton
Sent: Sunday, July 08, 2007 7:42 PM
To: Coordination of admins/developers of the game programming library
Allegro
Subject: Re: [AD] GDI fix

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.]

--
Matthew Leverton





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