- Joined
- Feb 6, 2008
- Messages
- 38,965
- Reaction score
- 3,937
- Points
- 203
- Location
- Wolfsburg
- Preferred Pronouns
- Sire
I've traced the framerate slowdown to the StretchBlt call. The code currently uses the HALFTONE StretchBlt mode, which is very slow (and, as it turns out, is only supported in WindowsXP and Vista). Unfortunately, none of the other modes seem to produce satisfactory results.
I suggest, we use StretchBlt as little as possible - for example we scale the font bitmap only once during creation before we use it for drawing.
