1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 2<html> 3 4<head> 5<META http-equiv="Content-Type" content="text/html; charset=windows-1252"> 6<META name="GENERATOR" content="Microsoft FrontPage 5.0"> 7<META http-equiv="Content-Style-Type" content="text/css"> 8<LINK rel="stylesheet" type="text/css" href="../../CSS/revolution.css"> 9<title>GXCallDisplayList</title> 10</head> 11 12<body> 13 14<h1 align="left">GXCallDisplayList</h1> 15 16<h2>Syntax</h2> 17<dl><dd><pre class="construction"> 18#include <revolution/gx.h> 19 20void GXCallDisplayList( const void* list, u32 nbytes ); 21</pre></dd></dl> 22 23<h2>Arguments</h2> 24<TABLE class="arguments" border="1" > 25 <tr> 26<TH>list</TH> 27<TD>Pointer to the display list. Must be 32-byte aligned.</TD> 28 </tr> 29 <tr> 30<TH>nbytes</TH> 31<TD>Number of bytes in the display list. Must be a multiple of 32.</TD> 32 </tr> 33</TABLE> 34 35<h2>Return Values</h2> 36<p>None.</p> 37 38<H2>Description</H2> 39<P>This function will cause the graphics processor (GP) to execute graphics commands from the display list <SPAN class="argument">list</SPAN> instead of from the GP FIFO. When the value of <code><em><strong>nbytes</strong></em></code> (a multiple of 32) has been read, the graphics processor will resume executing commands from the graphics FIFO.</P> 40<P>Graphics commands from a display list are prefetched into a separate 4KB FIFO. This prevents any data prefetched for the main graphics command stream from being lost during the display list call. <BR><B>Note:</B> A display list cannot call another display list.</P> 41<P>The display list must be padded to a length of 32 bytes. All the data in the display list is interpreted by the graphics processor, so any unused memory at the end of a display list should be set to <code>GX_NOP(0x00)</code>. If you create a display list using the <A href="GXBeginDisplayList.html"><CODE>GXBeginDisplayList</CODE></A> / <A href="GXEndDisplayList.html"><CODE>GXEndDisplayList</CODE></A> functions, these functions automatically perform padding.</P> 42 43<h2>See Also</h2> 44<P class="reference"> 45<A href="GXBeginDisplayList.html">GXBeginDisplayList</A>, 46<A href="GXEndDisplayList.html">GXEndDisplayList</A> 47</P> 48 49<H2>Revision History</H2> 50<P> 512006/03/01 Initial version.<br> 52</P> 53 54<hr><p>CONFIDENTIAL</p></body> 55</HTML>