qt 6.8.0 support

This commit is contained in:
kleuter
2024-11-18 11:31:57 +01:00
parent c4707639b4
commit 09a199127f
20 changed files with 2264 additions and 354 deletions

View File

@ -626,6 +626,7 @@ struct QD3D11SwapChain : public QRhiSwapChain
IDCompositionVisual *dcompVisual = nullptr;
QD3D11SwapChainTimestamps timestamps;
int currentTimestampPairIndex = 0;
HANDLE frameLatencyWaitableObject = nullptr;
};
class QRhiD3D11 : public QRhiImplementation
@ -761,6 +762,7 @@ public:
QRhi::Flags rhiFlags;
bool debugLayer = false;
UINT maxFrameLatency = 2; // 1-3, use 2 to keep CPU-GPU parallelism while reducing lag compared to tripple buffering
bool importedDeviceAndContext = false;
ID3D11Device *dev = nullptr;
ID3D11DeviceContext1 *context = nullptr;