nngxRunCmdlist Function

Syntax

NNGX_APICALL void NNGX_APIENTRY nngxRunCmdlist(
     void
);

Arguments

None.

Return Values

No values are returned.

Description

Runs the current command list.

Sequentially 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.

The call to this function will be ignored if it has been called after nngxStopCmdlist has been specified to stop the running of commands but before all issued commands have stopped. To verify that all issued commands have completed, call the nngxGetCmdlistParameterifunction with NN_GX_CMDLIST_IS_RUNNING specified for pname , or use the nngxWaitCmdlistDone function to wait until the commands have finished running.

This function generates the following errors.

GL_ERROR_8009_DMPThe bound command list does not have a region allocated for the command buffer or a command request.

Revision History

2010/10/07
Added a method for verifying that issued commands have finished running.
2010/03/12
Added extended error code(s).
2010/01/07
Initial version.

CONFIDENTIAL