[idd] implemented core shared memory functionallity and LGMP setup

This commit is contained in:
Geoffrey McRae committed 2023-04-11 16:53:57 +10:00
1 parent 77ddcfe489
commit 3c85957b99
15 files changed
+608 -37

No files matched your search

-4
View File
@@ -4,18 +4,15 @@
CIndirectMonitorContext::CIndirectMonitorContext(_In_ IDDCX_MONITOR monitor) :
m_monitor(monitor)
{
OutputDebugStringA(__FUNCTION__);
}
CIndirectMonitorContext::~CIndirectMonitorContext()
{
OutputDebugStringA(__FUNCTION__);
m_thread.reset();
}
void CIndirectMonitorContext::AssignSwapChain(IDDCX_SWAPCHAIN swapChain, LUID renderAdapter, HANDLE newFrameEvent)
{
OutputDebugStringA(__FUNCTION__);
m_thread.reset();
auto device = std::make_shared<Direct3DDevice>(renderAdapter);
if (FAILED(device->Init()))
@@ -29,6 +26,5 @@ void CIndirectMonitorContext::AssignSwapChain(IDDCX_SWAPCHAIN swapChain, LUID re
void CIndirectMonitorContext::UnassignSwapChain()
{
OutputDebugStringA(__FUNCTION__);
m_thread.reset();
}