[WIN32K]
authorTimo Kreuzer <timo.kreuzer@reactos.org>
Wed, 9 Mar 2011 15:46:13 +0000 (15:46 +0000)
committerTimo Kreuzer <timo.kreuzer@reactos.org>
Wed, 9 Mar 2011 15:46:13 +0000 (15:46 +0000)
commit2bbd8711a747e88759edcff139e64e348a79a5a6
treec7cac79c786db9393ec72589f28ca8e8cbca8c52
parent775a83cdf460d142c1e56cde11279cbf6c286d68
[WIN32K]
- Fix calculation of dest rect in IntSetDIBits
- Rewrite NtGdiStretchDIBitsInternal. It now calls NtGdiSetDIBitsToDeviceInternal in case of SRCCOPY and no stretching and NtGdiCreateDIBitmapInternal + IntEngStretchBlt in the default case. This fixes RLE compressed dibs.
- The code isn't yet perfect, Windows behaviour is pretty complex, especially in regard to topdown/bottomup DIBs and the whole code needs to be rewritten. It will cause one more failed bitmap test, but another one that was formerly only passing with legacy 9x behaviour now behaves correctly.

See issue #5886 for more details.

svn path=/trunk/; revision=51005
reactos/subsystems/win32/win32k/objects/dibobj.c