Jan Sikorski : wined3d: Reduce locking of device context operations.
Alexandre Julliard
julliard at winehq.org
Mon Nov 1 16:38:03 CDT 2021
Module: wine
Branch: master
Commit: 803274ac14067c4f60363ac8e953db9281dbe46a
URL: https://source.winehq.org/git/wine.git/?a=commit;h=803274ac14067c4f60363ac8e953db9281dbe46a
Author: Jan Sikorski <jsikorski at codeweavers.com>
Date: Mon Nov 1 09:07:18 2021 +0100
wined3d: Reduce locking of device context operations.
Only actually take the lock for the immediate context. According to the
d3d11 documentation, operations on device contexts are not thread safe,
and testing on Windows confirms this.
Signed-off-by: Jan Sikorski <jsikorski at codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/wined3d/cs.c | 18 ++---
dlls/wined3d/device.c | 152 ++++++++++++++++++++---------------------
dlls/wined3d/wined3d_private.h | 12 ++++
3 files changed, 97 insertions(+), 85 deletions(-)
Diff: https://source.winehq.org/git/wine.git/?a=commitdiff;h=803274ac14067c4f60363ac8e953db9281dbe46a
More information about the wine-cvs
mailing list