[Refactor] (P13 W5 S3): transport-only hooks get no-op twins where the record arm calls them, and their guards return to the transport.

This commit is contained in:
2026-10-06 11:56:18 -04:00
parent c879776a26
commit 1956d6cd6f
7 changed files with 14 additions and 5 deletions
+1 -1
View File
@@ -1495,7 +1495,7 @@ namespace MobileGL::MG_Pipe {
return true;
}
#if MOBILEGL_BUILD_DISAGGREGATED
#if MOBILEGL_BUILD_RECORD_ARM
// Texture records can have a server consumer without the buffer ops table (Magma).
// Their staged bytes still belong to the server before SEG_STAGE retires. Keep the
// existing backend hooks authoritative when present, and use this fallback otherwise.
+3
View File
@@ -173,6 +173,9 @@ namespace MobileGL::MG_Pipe {
// presents, included. Asked only for a session with a context bound; asks the environment /
// property at most every 100 ms per thread.
bool MGPipeDebugSessionLossDue(unsigned clientPid);
#else
// P13 W5: the device-loss knobs end a SESSION; a library without a transport has none to end.
inline bool MGPipeDebugDeviceLossDue() { return false; }
#endif
} // namespace MobileGL::MG_Pipe