Lines Matching refs:currentStack

132     t->currentStack = &(t->modelViewStack);
275 t->currentStack = &(t->modelViewStack);
280 t->currentStack = &(t->projectionStack);
285 t->currentStack = &(t->textureStack[tex->curTextureUnit]);
290 t->currentStack = &(t->colorStack);
304 t->currentStack = &(t->programStack[i]);
326 t->currentStack = &(t->programStack[i]);
342 CRASSERT(t->currentStack->top == t->currentStack->stack + t->currentStack->depth);
361 crMatrixInit(t->currentStack->top);
383 if (t->currentStack->depth == 0)
389 CRASSERT(t->currentStack->top == t->currentStack->stack + t->currentStack->depth);
391 t->currentStack->depth--;
392 t->currentStack->top = t->currentStack->stack + t->currentStack->depth;
415 if (t->currentStack->depth + 1 >= t->currentStack->maxDepth)
421 CRASSERT(t->currentStack->top == t->currentStack->stack + t->currentStack->depth);
423 *(t->currentStack->top + 1) = *(t->currentStack->top);
426 t->currentStack->depth++;
427 t->currentStack->top = t->currentStack->stack + t->currentStack->depth;
451 CRASSERT(t->currentStack->top == t->currentStack->stack + t->currentStack->depth);
452 *t->currentStack->top = *m;
476 crMatrixInitFromFloats(t->currentStack->top, m1);
499 crMatrixInitFromDoubles(t->currentStack->top, m1);
535 CRmatrix *m = t->currentStack->top;
607 CRmatrix *m = t->currentStack->top;
704 crMatrixTranslate(t->currentStack->top, x_arg, y_arg, z_arg);
727 crMatrixTranslate(t->currentStack->top, (float)x_arg, (float)y_arg, (float)z_arg);
750 crMatrixRotate(t->currentStack->top, ang, x, y, z);
772 crMatrixRotate(t->currentStack->top, (float)ang, (float)x, (float)y, (float)z);
794 crMatrixScale(t->currentStack->top, x_arg, y_arg, z_arg);
816 crMatrixScale(t->currentStack->top, (float)x_arg, (float)y_arg, (float)z_arg);
840 crMatrixFrustum(t->currentStack->top, (float)left, (float)right, (float)bottom, (float)top, (float)zNear, (float)zFar);
864 crMatrixOrtho(t->currentStack->top, (float)left, (float)right, (float)bottom, (float)top, (float)zNear, (float)zFar);