mgt-triple-buf

Description

This program demonstrates triple-buffered rendering. Only two external frame buffers (XFBs) are used. Triple-buffering allows for maximum use of the graphics pipeline, because the CPU can work on the next frame while the GP is rendering the current frame. However, this allows maximum latency is allowed to increase. Triple-buffering results in more complex data management. The CPU cannot alter data for the next frame while the GP is still reading it for the current frame. A clean-up thread can be used to deallocate any data that was kept for the GP to read.

Coverage

Functions Parameters Description
VISetPostRetraceCallback cb Pointer to the callback function.
VISetPreRetraceCallback cb Pointer to the callback function.
GXEnableBreakPt address Breakpoint address.
GXDisableBreakPt None.
GXSetBreakPtCallback cb Pointer to the callback function.
GXSetDrawSync token Value of drawsync token.
GXReadDrawSync None.
GXGetFifoPtrs Various. Appropriate value.

Operation Method

X Button: Press to stop animation.
PAUSE: Press to quit.

Required Data Files

None.

Revision History

03/01/2006 Initial version.