winex11.drv: Optimise getting the bits of a DIB after calling SetDIBits.
authorRob Shearman <rob@codeweavers.com>
Thu, 21 Feb 2008 16:44:59 +0000 (16:44 +0000)
committerAlexandre Julliard <julliard@winehq.org>
Fri, 22 Feb 2008 10:52:08 +0000 (11:52 +0100)
commit428ada3c8a12dbeaba42d13f445e67e488fea94a
treed04dbbf07fd042b4474b5a57f517b32ae09219a5
parent582de7ba0dab10488c6b9abc8d70c5c5e0134670
winex11.drv: Optimise getting the bits of a DIB after calling SetDIBits.

Sync the application's bits in SetDIBits if the input bits are in
exactly the same format and the size of the image is small enough not to
cause a performance hit (in case the application doesn't get ever access
the bits directly).
dlls/winex11.drv/dib.c