http://bugs.winehq.org/show_bug.cgi?id=421
------- Additional Comments From fgouget@codeweavers.com 2005-05-10 11:44 ------- Yes, looks like it is related to me. AFAIK currently we can only perform GDI operations on DIBs that are in the same format as the X server screen. This is because all our GDI operations are implemented using calls to the X server and the X server can only work on bitmaps that are in the same format as the screen.
Note that the latter may not be 100% true with the API extensions in the recent X server revisions but I don't know the details. IIRC this is one of the ways of implementing a DIB engine that was discussed but it was ruled out because it sucks if the X server is remote (because of all the roundtrips).