Follow what's been done in the D3D11 backend. Slightly different logic here and there due to always having the newer interfaces available, but does the same thing. Use QT_D3D_MAX_FRAME_LATENCY to override the default 2. [ChangeLog][RHI] The D3D12 backend creates swapchains from now on with DXGI_SWAP_CHAIN_FLAG_FRAME_LATENCY_WAITABLE_OBJECT by default, with a max frame latency of 2. Task-number: QTBUG-127267 Change-Id: I4d0361ab546a1c0041592389f8954281f588b0ba Reviewed-by: Andy Nichols <andy.nichols@qt.io> (cherry picked from commit 91cae3f9cc9cb97eab69e39d405000f2fd1e533a) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
…
…
Description
Languages
C++
84.3%
HTML
4.9%
C
3.9%
CMake
3.6%
Objective-C++
2%
Other
0.8%