[idd] driver: report we are finished with the frame earlier

`IddCxSwapChainFinishedProcessingFrame` must be called after every
frame, but we should do it as early as possible once all commands
are queued that use the frame.
This commit is contained in:
Geoffrey McRae
2025-03-29 22:29:47 +00:00
parent 6dad0de8b8
commit 5b07286c65
2 changed files with 21 additions and 11 deletions

View File

@@ -54,7 +54,7 @@ private:
void SwapChainThread();
void SwapChainThreadCore();
void SwapChainNewFrame(ComPtr<IDXGIResource> acquiredBuffer);
bool SwapChainNewFrame(ComPtr<IDXGIResource> acquiredBuffer);
public:
CSwapChainProcessor(CIndirectDeviceContext * devContext, IDDCX_SWAPCHAIN hSwapChain,