mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-10-27 06:20:05 +00:00
Try all available GPUs in D3D11VA decoder
This commit is contained in:
1 parent
b12724db02
commit
d3a542bac4
2 files changed
+109
-41
No files matched your search
@@ -33,6 +33,7 @@ private:
|
||||
void bindColorConversion(AVFrame* frame);
|
||||
void renderVideo(AVFrame* frame);
|
||||
bool checkDecoderSupport(IDXGIAdapter* adapter);
|
||||
bool createDeviceByAdapterIndex(int adapterIndex, bool* indexWasInvalid = nullptr);
|
||||
|
||||
IDXGIFactory5* m_Factory;
|
||||
ID3D11Device* m_Device;
|
||||
|
||||
Reference in new issue
Block a user