[PATCH 23/35] wined3d: Use separate locks for deferred contexts.
Henri Verbeet
hverbeet at gmail.com
Tue Oct 19 08:56:16 CDT 2021
On Fri, 15 Oct 2021 at 14:27, Jan Sikorski <jsikorski at codeweavers.com> wrote:
> ---
> dlls/wined3d/cs.c | 23 +++--
> dlls/wined3d/device.c | 152 ++++++++++++++++-----------------
> dlls/wined3d/wined3d_private.h | 17 ++++
> 3 files changed, 107 insertions(+), 85 deletions(-)
>
Is that safe at this stage? For example, calling
d3d11_device_context_OMGetRenderTargets() on a deferred context would
now use wined3d_mutex_lock()/wined3d_mutex_unlock(), while calling
d3d11_device_context_OMSetRenderTargets() for that same context would
use the lock specific to that context.
More information about the wine-devel
mailing list