Merge commit '1153c561' into codex/p5f-final

This commit is contained in:
2026-09-20 00:03:57 -04:00
6 changed files with 322 additions and 48 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);