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 graphics processor (GP) is rendering the current frame. However, this allows an increase in maximum latency. 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 the render synchronization token.
GXReadDrawSync None.
GXGetFifoPtrs Various. Appropriate value.

Using the Demo

Press the X button to stop the animation.
PAUSE: End

Required Data Files

None.

Revision History

2006/03/01 Initial version.


CONFIDENTIAL