[idd] resend the last captured frame if a new client connects

This commit is contained in:
Geoffrey McRae
2023-04-14 14:07:30 +10:00
parent fd0cc6aa10
commit d6b26b0eb1
5 changed files with 59 additions and 8 deletions

View File

@@ -22,6 +22,12 @@ public:
void AssignSwapChain(IDDCX_SWAPCHAIN swapChain, LUID renderAdapter, HANDLE newFrameEvent);
void UnassignSwapChain();
inline void ResendLastFrame()
{
if (m_thread)
m_thread->ResendLastFrame();
}
};
struct CIndirectMonitorContextWrapper