[idd] ipc: implement reporting of GPU software status

This commit is contained in:
Geoffrey McRae authored and Geoffrey McRae committed 2026-06-03 21:31:08 +10:00
1 parent cb70643fa4
commit 803aea0d21
8 files changed
+43 -1

No files matched your search

+12
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);
}