mirror of
https://github.com/gnif/LookingGlass.git
synced 2026-06-04 22:04:27 +00:00
[idd] ipc: implement reporting of GPU software status
This commit is contained in:
committed by
Geoffrey McRae
parent
cb70643fa4
commit
803aea0d21
@@ -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);
|
||||
}
|
||||
Reference in New Issue
Block a user