[Feat] (MG_Remote, P10 A): a present reports the fences finished so far before it returns the credit, so the client the credit releases finds the fence of a frame ago already known

This commit is contained in:
2026-09-29 04:29:49 -04:00
parent bcff9b00cc
commit 625f4db47d
3 changed files with 13 additions and 0 deletions
@@ -1144,6 +1144,11 @@ namespace MobileGL::MG_Remote::Server {
PublishEvents();
}
Bool ServerSession::EventRingHasRoom() const {
if (!m_accepted || m_link == nullptr) return false;
return m_link->Signals().EventRingFull->load(std::memory_order_acquire) == 0;
}
// PH-6 (ID-P7-2). THE FIRST DROP, AND THE LATCH IT RAISES.
//
// Logged ONCE, by name, with everything a triage needs: which event, how big, what the