mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-10-11 09:58:10 +00:00
[idd] driver: fix deadlock caused by command queue completion callback
The callback runs in a random thread, we can't call directx methods safely from it, so move reset so it's called automatically when a free copy list is obtained.
This commit is contained in:
@@ -54,6 +54,8 @@ private:
|
||||
|
||||
void SwapChainThread();
|
||||
void SwapChainThreadCore();
|
||||
|
||||
static void CompletionFunction(CD3D12CommandQueue * queue, void * param1, void * param2);
|
||||
bool SwapChainNewFrame(ComPtr<IDXGIResource> acquiredBuffer);
|
||||
|
||||
public:
|
||||
|
Reference in New Issue
Block a user