#include <revolution/gx.h>
void GXCopyDisp( void* dest, GXBool clear );
dest |
Pointer to the external framebuffer. dest should be 32-byte aligned. |
clear |
Flag that indicates frame buffer should be cleared if GX_TRUE. |
None.
This function copies the embedded frame buffer (EFB) to an external framebuffer (XFB) in main memory. The first pixel is copied to address dest. The stride (number of pixels from dest to the next line) of the XFB is set using GXSetDispCopyDst. The source image in the EFB is described using GXSetDispCopySrc.
The graphics processor (GP) will stall all graphics commands until the copy is complete.
If the clear flag is true, the color and Z buffers will be cleared during the copy. They will be cleared to the constant values set using GXSetCopyClear.
GXSetDispCopySrc
GXSetDispCopyDst
GXSetDispCopyFrame2Field
GXSetDispCopyYScale
GXSetDispCopyFilter
03/01/2006 Initial version.