Module: wine Branch: master Commit: 803274ac14067c4f60363ac8e953db9281dbe46a URL: https://source.winehq.org/git/wine.git/?a=commit;h=803274ac14067c4f60363ac8e...
Author: Jan Sikorski jsikorski@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@codeweavers.com Signed-off-by: Henri Verbeet hverbeet@codeweavers.com Signed-off-by: Alexandre Julliard julliard@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=803274ac14067c4f60363...