Module: wine Branch: master Commit: e97ed10d09a94cae9bd449f297813a0f0722a378 URL: http://source.winehq.org/git/wine.git/?a=commit;h=e97ed10d09a94cae9bd449f297...
Author: Henri Verbeet hverbeet@codeweavers.com Date: Thu Apr 13 00:11:01 2017 +0200
wined3d: Introduce a multi-threaded command stream implementation.
The primary purpose of this patch is to serialise draws from multiple threads, without the overhead of extra flushes that "StrictDrawOrdering" imposes. With additional work, offloading state processing and driver overhead to a separate thread may also allow for improved performance in some applications, but that's not a goal of this patch.
Signed-off-by: Henri Verbeet hverbeet@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
dlls/wined3d/context.c | 6 + dlls/wined3d/cs.c | 410 ++++++++++++++++++++++++++++++++++++----- dlls/wined3d/device.c | 6 + dlls/wined3d/query.c | 45 ++++- dlls/wined3d/wined3d_main.c | 4 + dlls/wined3d/wined3d_private.h | 59 +++++- 6 files changed, 472 insertions(+), 58 deletions(-)
Diff: http://source.winehq.org/git/wine.git/?a=commitdiff;h=e97ed10d09a94cae9bd449...