wined3d: call context_apply_draw_buffers under the GL lock (try 2)

Stefan Dösinger stefan at codeweavers.com
Fri May 27 06:51:53 CDT 2011


This is is a reduced version of the first version. It reduces the number of 
lock calls per draw from 4 to 3 rather than 2, as the previous version did, 
but it avoids enter without leave if blocks and "else {ENTER_GL();}" 
constructs. This additional lock should go away once we keep track of FBO 
changes and call context_apply_fbo_state only when needed.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0005-wined3d-call-context_apply_draw_buffers-under-the-GL.patch
Type: text/x-patch
Size: 3516 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20110527/e3959e46/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20110527/e3959e46/attachment.pgp>


More information about the wine-patches mailing list