[Refactor] (P13 W5 S4c): the verb emitters, the monolith verb port and the client GPU-write set move to MG_Record under MG_Impl/Pipe/Verb.

This commit is contained in:
2026-10-06 12:51:02 -04:00
parent ed7800a550
commit 8e76f9dcb7
19 changed files with 2700 additions and 2405 deletions
+7
View File
@@ -201,6 +201,13 @@ namespace MobileGL::MG_Pipe {
} // namespace
void MGPipeSetClientDeviceLostProbe(MGPipeClientDeviceLostProbe probe) { g_clientDeviceLostProbe = probe; }
Bool MGPipeClientDeviceLost() { return g_clientDeviceLostProbe != nullptr && g_clientDeviceLostProbe(); }
namespace {
constinit MGPipeClientLossConfirmer g_clientLossConfirmer = nullptr;
} // namespace
void MGPipeSetClientLossConfirmer(MGPipeClientLossConfirmer confirmer) { g_clientLossConfirmer = confirmer; }
Bool MGPipeClientConfirmLossAfterDecline(Uint32 waitMs) {
return g_clientLossConfirmer != nullptr && g_clientLossConfirmer(waitMs);
}
#if MOBILEGL_BUILD_RECORD_ARM
// ----------------------------------------------------------------------------