[MG_Pipe, MG_Remote, MG_Test] (Disaggregated): P5f fv - own reverse errors and reject legacy object announcements

This commit is contained in:
2026-09-19 23:38:55 -04:00
parent 4667e13be6
commit 4f3d2d6b95
5 changed files with 236 additions and 40 deletions
+3 -2
View File
@@ -25,8 +25,9 @@
// an optimization (section 7.4).
namespace MobileGL::MG_Pipe {
struct MGPipeCallbacks {
// A driver-detected GL error that only the server could have seen.
void (*OnGlError)(Uint32 code);
// A driver-detected GL error that only the server could have seen. The text is
// borrowed for this synchronous call; a transport producer copies it before return.
void (*OnGlError)(Uint32 code, const char* message);
// Ranges of a resource the GPU wrote; retires MarkGpuWritten.
void (*OnGpuWritten)(MGPipeHandle res, Uint rangeCount, const MGPRange* ranges);
void (*OnBufferWriteback)(MGPipeHandle res, Uint64 offset, MGPBlobRef bytes);