MCPcopy Create free account
hub / github.com/devkitPro/libctru / gxCmdQueueDoCommands

Function gxCmdQueueDoCommands

libctru/source/gpu/gxqueue.c:15–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13static LightLock queueLock = 1;
14
15static void gxCmdQueueDoCommands(void)
16{
17 if (shouldStop)
18 return;
19 int batchSize = curQueue->lastEntry+MAX_PARALLEL_CMDS-curQueue->curEntry;
20 while (curQueue->curEntry < curQueue->numEntries && batchSize--)
21 {
22 gxCmdEntry_s* entry = &curQueue->entries[curQueue->curEntry++];
23 gspSubmitGxCommand(entry->data);
24 }
25}
26
27void gxCmdQueueInterrupt(GSPGPU_Event irq)
28{

Callers 3

gxCmdQueueInterruptFunction · 0.85
gxCmdQueueAddFunction · 0.85
gxCmdQueueRunFunction · 0.85

Calls 1

gspSubmitGxCommandFunction · 0.85

Tested by

no test coverage detected