[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

@@ -174,4 +174,16 @@ void CPipeServer::SetDisplayMode(uint32_t width, uint32_t height, uint32_t refre
msg.displayMode.height = height;
msg.displayMode.refresh = refresh;
WriteMsg(msg);
}
void CPipeServer::SetGPUStatus(bool software)
{
if (!m_connected)
return;
LGPipeMsg msg;
msg.size = sizeof(msg);
msg.type = LGPipeMsg::GPUSTATUS;
msg.gpuStatus.software = software;
WriteMsg(msg);
}