[1/5] wined3d: Don't check the FBO status if FIXMEs are off

Henri Verbeet hverbeet at gmail.com
Tue May 24 15:57:34 CDT 2011


On 24 May 2011 22:37, Stefan Dösinger <stefan at codeweavers.com> wrote:
> I put the fixme checks outside context_check_fbo_status because the ENTER_GL() / LEAVE_GL()
> locking is more expensive than the FBO validation itself. Moving the locking into the function

I'm not sure that's really worth it. If the GL lock is really such a
concern, you should probably change the calls in context.c to already
be under the GL lock anyway. You can easily change
context_apply_draw_buffers() for example to require locking by the
caller.



More information about the wine-devel mailing list