#include <debug.h>
Definition at line 38 of file debug.h.
◆ version
Must be set to GX2_DEBUG_CAPTURE_INTERFACE_VERSION.
Definition at line 41 of file debug.h.
◆ onShutdown
Called from GX2Shutdown.
Definition at line 44 of file debug.h.
◆ setAllocator
Called from GX2DebugSetCaptureInterface with the default gx2 allocators.
Definition at line 47 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 51 of file debug.h.
◆ onCaptureEnd
Called from GX2DebugCaptureEnd.
Definition at line 54 of file debug.h.
◆ isCaptureEnabled
BOOL(* isCaptureEnabled) () |
Check if capture is enabled.
Definition at line 57 of file debug.h.
◆ onAlloc
void(* onAlloc) (void *ptr, uint32_t size, uint32_t align) |
Called when GX2 memory is allocated.
Definition at line 60 of file debug.h.
◆ onFree
void(* onFree) (void *ptr) |
Called when GX2 memory is freed.
Definition at line 63 of file debug.h.
◆ onUnknownMemory
void(* onUnknownMemory) (void *ptr, uint32_t size) |
UNKNOWN: Called when something happens with some memory.
Definition at line 66 of file debug.h.
◆ setOutputSurface
Called from GX2DebugCaptureStart with the TV scan buffer.
Definition at line 69 of file debug.h.
◆ onSwapScanBuffers
Called from GX2SwapScanBuffers with the TV scan buffer.
Definition at line 72 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 77 of file debug.h.
The documentation for this struct was generated from the following file:
- /home/ash/src/wut/include/gx2/debug.h