http://bugs.winehq.org/show_bug.cgi?id=22290
--- Comment #10 from Stefan Dösinger stefandoesinger@gmx.at 2010-04-10 16:34:59 ---
But if you want your patch to be perfect instead of good ;) there is probably one missed scenario. Move the app's window so, that 50% is visible (rest is behind the edge wine's windows, i.e. not visible). Now try to resize -> window becomes completely black again until you move it so, that 100% of app's is visible.
That's part of why the surface.c part of the patch(that actually fixes things) is incorrect. We still need proper backbuffer->frontbuffer blitting. But before we implement this I'd like to wait for Roderick's blitter fixes. Trying to hack this feature into the current code is futile.
I am still wondering why the context.c part doesn't fix window drawing. It should, but something's still wrong. That is the actual problem here.
I guess that question regarding removal of ORM belongs to Henri, doesn't it?
It was more a general remark for the archives. I think I discussed this with Henri a while ago, and we decided to keep the hack until the Mesa versions that support FBOs are more widespread. We also have to keep OSX in mind, since front buffer access isn't possible on OSX.