Go to the source code of this file.
Functions | |
void | Render_AllocateBuffers (int sps2descriptor) |
Initialise the data and DMA chain buffers. | |
void | Render_FreeBuffers () |
Free the memory allocated for the data and DMA chain buffers. | |
void | Render_SwapChainBuffers () |
Swap the double-buffered DMA chain buffers. | |
void * | Render_NextQW_Data () |
Advance the global data buffer pointer by 1 quadword. | |
void * | Render_NextQW_Curr () |
Advance the global chain buffer pointer by 1 quadword. | |
void * | Render_GotoNextBlock_Data (int qwords) |
Skip to the next page in the data buffer. | |
sps2DMATag_t * | Render_LinkNextBlock_Data (int qwords, sps2DMATag_t *dmatagaddr) |
void | Render_LinkNextBlock_Curr (int qwords) |
|
Initialise the data and DMA chain buffers. This function should be called before using the other renderer API functions. The total amount of memory allocated is equal to DATABUFFER_SIZE + (2 * CHAINBUFFER_SIZE).
|
|
Free the memory allocated for the data and DMA chain buffers. This function should be called before the application terminates.
|
|
Skip to the next page in the data buffer.
|
|
Advance the global chain buffer pointer by 1 quadword. This function should be called after adding a quadword to the global DMA chain buffer.
|
|
Advance the global data buffer pointer by 1 quadword. This function should be called after adding a quadword to the global data buffer.
|
|
Swap the double-buffered DMA chain buffers. This function should be called after kicking the current DMA list with Render_KickDMA.
|