diff options
author | Laszlo Agocs <laszlo.agocs@qt.io> | 2016-07-15 14:49:19 +0200 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@qt.io> | 2016-07-15 18:03:58 +0000 |
commit | f1736b9a94a8bce40a26efba766e935ae6865530 (patch) | |
tree | a4d23a0402cdea06974760663232be2361eacb3d /src/plugins | |
parent | bc2a25dfc18dbb63e404b031c82465c5d21f2775 (diff) |
D3D12: Change the command list size limit
128 is way too low. Experiments with qmlbench show that there is not much
improvement after 4000 so go with 4096.
Change-Id: I1fd8f4f55250b5e54d95adb28b4ea1f4fe5ca10a
Reviewed-by: Andy Nichols <andy.nichols@qt.io>
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/scenegraph/d3d12/qsgd3d12engine.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/plugins/scenegraph/d3d12/qsgd3d12engine.cpp b/src/plugins/scenegraph/d3d12/qsgd3d12engine.cpp index 0800bdb8ad..d19dfe2db8 100644 --- a/src/plugins/scenegraph/d3d12/qsgd3d12engine.cpp +++ b/src/plugins/scenegraph/d3d12/qsgd3d12engine.cpp @@ -75,11 +75,14 @@ DECLARE_DEBUG_VAR(render) Q_LOGGING_CATEGORY(QSG_LOG_INFO, "qt.scenegraph.general") +// Any changes to the defaults below must be reflected in adaptations.qdoc as +// well and proven by qmlbench or similar. + static const int DEFAULT_SWAP_CHAIN_BUFFER_COUNT = 3; static const int DEFAULT_FRAME_IN_FLIGHT_COUNT = 2; static const int DEFAULT_WAITABLE_SWAP_CHAIN_MAX_LATENCY = 0; -static const int MAX_DRAW_CALLS_PER_LIST = 128; +static const int MAX_DRAW_CALLS_PER_LIST = 4096; static const int MAX_CACHED_ROOTSIG = 16; static const int MAX_CACHED_PSO = 64; |