[Test] (tools/trace_replay): dump every live framebuffer attachment at a call boundary

This commit is contained in:
2026-08-11 22:25:57 -04:00
parent 99ebf67a3d
commit 38eb9589f9
7 changed files with 593 additions and 2 deletions
+10
View File
@@ -0,0 +1,10 @@
#pragma once
namespace mobilegl_trace_dump {
// Installs the framebuffer-attachment dump hook when MOBILEGL_TRACE_DUMP_FBO_ATTACHMENTS
// describes at least one dump point. Safe and cheap to call on every makeCurrent: the
// environment is consulted once and the hook is installed at most once.
void InstallIfRequested();
} // namespace mobilegl_trace_dump