Henri Verbeet : wined3d: Introduce a multi-threaded command stream implementation.

Alexandre Julliard julliard at winehq.org
Thu Apr 13 13:06:09 CDT 2017


Module: wine
Branch: master
Commit: e97ed10d09a94cae9bd449f297813a0f0722a378
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=e97ed10d09a94cae9bd449f297813a0f0722a378

Author: Henri Verbeet <hverbeet at 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 at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at 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=e97ed10d09a94cae9bd449f297813a0f0722a378



More information about the wine-cvs mailing list