mirror of
https://github.com/gnif/LookingGlass.git
synced 2026-08-09 00:31:31 +00:00
[idd] scheduler: republish after owner subscription
Consume subscription notifications from the private owner queues. When any lane gains a subscriber, request a retained-frame publication for the current timing owner so a static desktop cannot leave it waiting.
This commit is contained in:
@@ -1410,6 +1410,15 @@ void CIndirectDeviceContext::LGMPTimer()
|
||||
if (lgmpHostQueueNewSubs(m_frameQueue))
|
||||
m_frameScheduler.NotifyPublisher();
|
||||
|
||||
bool ownerSubscribed = false;
|
||||
for (unsigned queueIndex = 0;
|
||||
queueIndex < LGMP_Q_FRAME_LEN;
|
||||
++queueIndex)
|
||||
ownerSubscribed |=
|
||||
lgmpHostQueueNewSubs(m_frameOwnerQueue[queueIndex]) != 0;
|
||||
if (ownerSubscribed)
|
||||
m_frameScheduler.RequestRepublish();
|
||||
|
||||
ProcessFrameDeliveries();
|
||||
|
||||
if (lgmpHostQueueNewSubs(m_pointerQueue))
|
||||
|
||||
Reference in New Issue
Block a user