nngxAddCmdlist Function

Syntax

NNGX_APICALL void NNGX_APIENTRY nngxAddCmdlist(
     GLuint cmdlist
);

Arguments

Name Description
in cmdlist Command list object to be added to the current command list object.

Return Values

There is no return value.

Description

Adds the content of the specified command list object to the current command list object.

Adds all commands accumulated in the command list object specified in cmdlist to the current command list object. If commands have already been accumulated in the current command list, the commands from cmdlist are added after the accumulated commands.

If it is not immediately after the current 3D command buffer has been split, and if the first command of the additional command requests is not a 3D execution command, the nngxSplitDrawCmdlist function is called to split the command buffer, and then the commands are added.

If it is not immediately after the current 3D command buffer has been split, and if the first command of the additional command requests is a 3D execution command, dummy commands are added as needed to adjust alignment, and then the commands are added.

The results of any later checks of the maximum size includes the effects of internal calls to nngxSplitDrawCmdlist and of additional dummy commands.

The following errors occur in this function.

GL_ERROR_8054_DMPInvalid value specified for cmdlist.
GL_ERROR_8055_DMPThe command list is not currently bound.
GL_ERROR_8056_DMPThe cmdlist argument specifies the current command list.
GL_ERROR_8057_DMPThe current command list is running.
GL_ERROR_8058_DMPRunning this function would cause the current command list command buffer or command request to exceed the maximum size.

Revision History

2010/04/02
Initial version.

CONFIDENTIAL