#include <debug.h>
Definition at line 42 of file debug.h.
◆ version
Must be set to GX2_DEBUG_CAPTURE_INTERFACE_VERSION.
Definition at line 45 of file debug.h.
◆ onShutdown
Called from GX2Shutdown.
Definition at line 48 of file debug.h.
◆ setAllocator
Called from GX2DebugSetCaptureInterface with the default gx2 allocators.
Definition at line 51 of file debug.h.
◆ onCaptureStart
void(* onCaptureStart) (const char *filename) |
Called from GX2DebugCaptureStart, the filename is first argument passed in to GX2DebugCaptureStart.
Definition at line 55 of file debug.h.
◆ onCaptureEnd
Called from GX2DebugCaptureEnd.
Definition at line 58 of file debug.h.
◆ isCaptureEnabled
BOOL(* isCaptureEnabled) () |
Check if capture is enabled.
Definition at line 61 of file debug.h.
◆ onAlloc
void(* onAlloc) (void *ptr, uint32_t size, uint32_t align) |
Called when GX2 memory is allocated.
Definition at line 64 of file debug.h.
◆ onFree
void(* onFree) (void *ptr) |
Called when GX2 memory is freed.
Definition at line 67 of file debug.h.
◆ onUnknownMemory
void(* onUnknownMemory) (void *ptr, uint32_t size) |
UNKNOWN: Called when something happens with some memory.
Definition at line 70 of file debug.h.
◆ setOutputSurface
Called from GX2DebugCaptureStart with the TV scan buffer.
Definition at line 73 of file debug.h.
◆ onSwapScanBuffers
Called from GX2SwapScanBuffers with the TV scan buffer.
Definition at line 76 of file debug.h.
◆ submitToRing
void(* submitToRing) (void *unk1, uint32_t unk2, uint32_t *unk3, uint64_t *outSubmitTimestamp) |
Called when a command buffer is ready to be submitted to ring buffer.
Note that it seems we must call TCLSubmitToRing from this callback because gx2 will not do it when capturing.
Definition at line 81 of file debug.h.
The documentation for this struct was generated from the following file:
- /home/runner/work/wut/wut/include/gx2/debug.h