ggllPPuusshhNNaammee causes _n_a_m_e to be pushed onto the name stack. ggllPPooppNNaammee pops one name off the top of the stack.
The maximum name stack depth is implementation-dependent; call GGLL__MMAAXX__NNAAMMEE__SSTTAACCKK__DDEEPPTTHH to find out the value for a particular implementation. It is an error to push a name onto a full stack, or to pop a name off an empty stack. It is also an error to manipulate the name stack between the execution of ggllBBeeggiinn and the corresponding execution of ggllEEnndd. In any of these cases, the error flag is set and no other change is made to GL state.
The name stack is always empty while the render mode is not GGLL__SSEELLEECCTT. Calls to ggllPPuusshhNNaammee or ggllPPooppNNaammee while the render mode is not GGLL__SSEELLEECCTT are ignored.
GGLL__SSTTAACCKK__UUNNDDEERRFFLLOOWW is generated if ggllPPooppNNaammee is called while the name stack is empty.
GGLL__IINNVVAALLIIDD__OOPPEERRAATTIIOONN is generated if ggllPPuusshhNNaammee or ggllPPooppNNaammee is executed between a call to ggllBBeeggiinn and the corresponding call to ggllEEnndd.