WineD3D: flush gl buffers are blt to drawable [attempt3]

Roderick Colenbrander thunderbird2k at gmx.net
Fri Nov 9 09:05:55 CST 2007


Hi,

This patch makes sure the gl buffer is flushed after blitting to the screen. This fixes bug 9826 where traces of old frames appeared due to this.

Compared to the previous patch it now checks if we really need a flush by checking if the swapchain has multiple contexts (in other words if the same drawable is used by multiple contexts). DrawPrimitive/Clear also need a flush but because they use LoadLocation which in the end also uses blt_to_drawable those are already handled by this. The other addition is the a flush in BltOverride.

Regards,
Roderick Colenbrander

-- 
Psssst! Schon vom neuen GMX MultiMessenger gehört?
Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Flush-GL-calls-after-drawing-to-the-drawable.-This-f.patch
Type: text/x-diff
Size: 0 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20071109/5e655d15/attachment.patch 


More information about the wine-patches mailing list