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>C Specification</h2> 17 18<dl> 19<dd><pre><CODE>#include <revolution/gx.h></CODE></pre> 20 </dd> 21<dd><pre><CODE>void GXCallDisplayList( const void* list, u32 nbytes );</CODE></pre> 22 </dd> 23</dl> 24 25<h2>Arguments</h2> 26<TABLE border="1" cellpadding="3" cellspacing="0.1"> 27 <tr> 28<TD width="120" bgcolor="#ffffe8"><em><CODE><strong>list</strong></font></em></TD> 29<TD width="520">Pointer to the display list. Must be 32-byte aligned.</TD> 30 </tr> 31 <tr> 32<TD width="120" bgcolor="#ffffe8"><em><strong><CODE>nbytes</font></strong></em></TD> 33<TD width="520">Number of bytes in the display list. Must be a multiple of 32.</TD> 34 </tr> 35</TABLE> 36<h2>Return Values</h2> 37 38<p>None.</p> 39<H2>Description</H2> 40<P>This function will cause the Graphics Processor (GP) to execute graphics commands from the display <code><em><strong>list</strong></em></code> instead of from the GP <a href="../list.html#Graphics FIFO">FIFO</a>. 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><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><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 the display list using <code><a href="GXBeginDisplayList.html">GXBeginDisplayList</a>/<a href="GXEndDisplayList.html">GXEndDisplayList</a></code>, this padding will be done automatically.</P> 42<h2>See Also</h2> 43<P><a href="GXBeginDisplayList.html">GXBeginDisplayList</a><br> <a href="GXEndDisplayList.html">GXEndDisplayList</a></P> 44<H2>Revision History</H2> 45<P>03/01/2006 Initial version.</P> 46</BODY> 47</HTML> 48