[idd] ipc: implement reporting of GPU software status

This commit is contained in:
Geoffrey McRae
2026-06-03 17:48:32 +10:00
committed by Geoffrey McRae
parent cb70643fa4
commit 803aea0d21
8 changed files with 43 additions and 1 deletions

View File

@@ -21,6 +21,7 @@
#include "CIndirectMonitorContext.h"
#include "CPlatformInfo.h"
#include "CDebug.h"
#include "CPipeServer.h"
CIndirectMonitorContext::CIndirectMonitorContext(_In_ IDDCX_MONITOR monitor, CIndirectDeviceContext * device) :
m_monitor(monitor),
@@ -70,6 +71,7 @@ reInit:
}
m_swapChain.reset(new CSwapChainProcessor(m_monitor, m_devContext, swapChain, m_dx11Device, m_dx12Device, newFrameEvent));
g_pipe.SetGPUStatus(m_dx11Device->IsSoftware());
}
void CIndirectMonitorContext::UnassignSwapChain()