mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-10-27 14:30:25 +00:00
Fix D3D11 fence sharing without monitored fence support
This commit is contained in:
1 parent
f6e08f8a43
commit
a739c1cef8
2 files changed
+11
-8
No files matched your search
@@ -53,11 +53,10 @@ private:
|
||||
bool checkDecoderSupport(IDXGIAdapter* adapter);
|
||||
bool createDeviceByAdapterIndex(int adapterIndex, bool* adapterNotFound = nullptr);
|
||||
bool setupSharedDevice(IDXGIAdapter1* adapter);
|
||||
|
||||
static bool createSharedFencePair(UINT64 initialValue,
|
||||
ID3D11Device5* dev1, ID3D11Device5* dev2,
|
||||
Microsoft::WRL::ComPtr<ID3D11Fence>& dev1Fence,
|
||||
Microsoft::WRL::ComPtr<ID3D11Fence>& dev2Fence);
|
||||
bool createSharedFencePair(UINT64 initialValue,
|
||||
ID3D11Device5* dev1, ID3D11Device5* dev2,
|
||||
Microsoft::WRL::ComPtr<ID3D11Fence>& dev1Fence,
|
||||
Microsoft::WRL::ComPtr<ID3D11Fence>& dev2Fence);
|
||||
|
||||
int m_DecoderSelectionPass;
|
||||
int m_DevicesWithFL11Support;
|
||||
|
||||
Reference in new issue
Block a user