1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2<html xml:lang="en-US" lang="en-US" xmlns="http://www.w3.org/1999/xhtml">
3  <head>
4    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
5    <meta http-equiv="Content-Style-Type" content="text/css" />
6    <link rel="stylesheet" href="../css/manpage.css" type="text/css" />
7<title>nngxRunCmdlist</title>
8  </head>
9  <body>
10<h1><CODE>nngxRunCmdlist</CODE> Function</h1>
11<h2>Syntax</h2>
12    <div class="section">
13      <pre class="definition">
14NNGX_APICALL void NNGX_APIENTRY nngxRunCmdlist(
15     void
16);
17</pre>
18    </div>
19<h2>Arguments</h2>
20    <div class="section">
21<p>None.</p>
22    </div>
23<h2>Return Values</h2>
24<div class="section">No values are returned. </div>
25<h2>Description</h2>
26    <div class="section">
27<p>Runs the current command list.</p><P>
28Sequentially runs the commands accumulated in the current command list. Calls to this function are ignored when 0 is bound to the current command list. Calls to this function are ignored when the command list is running and other command-list objects are bound to the current list. Commands can be accumulated in a command list that is running.
29            </P><P>
30Calls to this function are ignored when it has been called after the <CODE><a href="../nn_gx/nngxStopCmdlist.html">nngxStopCmdlist</a></CODE>function has been specified to stop commands but before all issued commands have stopped. To confirm that all issued commands have completed, call the <CODE><a href="../nn_gx/nngxGetCmdlistParameteri.html">nngxGetCmdlistParameteri</a></CODE> function and specify <CODE>NN_GX_CMDLIST_IS_RUNNING</CODE> for <SPAN class="argument">pname</SPAN>, or use the <CODE><a href="../nn_gx/nngxWaitCmdlistDone.html">nngxWaitCmdlistDone</a></CODE> function to wait until the commands complete.
31            </P><P>
32This API function calls a system process in order to start command execution and blocks all other execution until that process completes. If there are no command requests, this process is called when a function used to add a command request to the start is called, not at the point this function is called. (The same is true when a command request being executed is emptied and then added anew.)
33            </P><P>
34This function generates the following errors.
35<TABLE><TR><TH>GL_ERROR_8009_DMP</TH><TD>The bound command list does not have a region allocated for the command buffer or a command request.</TD></TR></TABLE></P></div>
36<h2>See Also</h2>
37    <div class="section">
38<p class="reference"><CODE><a href="../nn_gx/nngxStopCmdlist.html">nngxStopCmdlist</a></CODE><br /><CODE><a href="../nn_gx/nngxWaitCmdlistDone.html">nngxWaitCmdlistDone</a></CODE><br /> </p>
39    </div>
40<h2>Revision History</h2>
41    <div class="section">
42      <dl class="history">
43        <dt>2011/11/29</dt>
44<dd>Added information about the timing of execution blocking caused by calling this function.<BR>
45        </dd>
46        <dt>2011/10/04</dt>
47<dd>Added <B>See Also</B> section.<br />
48        </dd>
49        <dt>2010/10/07</dt>
50<dd>Added a method for verifying that issued commands have finished running.
51        </dd>
52        <dt>2010/03/12</dt>
53<dd>Added extended error codes.<br />
54        </dd>
55        <dt>2010/01/07</dt>
56<dd>Initial version.<br />
57        </dd>
58      </dl>
59    </div>
60  <hr><p>CONFIDENTIAL</p></body>
61</html>
62