Lines Matching refs:transformStackDepth
54 a->transformStackDepth = 0;
480 if (a->transformStack[a->transformStackDepth].clip == NULL)
482 a->transformStack[a->transformStackDepth].clip = (GLboolean *) crCalloc( g->limits.maxClipPlanes * sizeof( GLboolean ));
484 if (a->transformStack[a->transformStackDepth].clipPlane == NULL)
486 a->transformStack[a->transformStackDepth].clipPlane = (GLvectord *) crCalloc( g->limits.maxClipPlanes * sizeof( GLvectord ));
488 a->transformStack[a->transformStackDepth].matrixMode = g->transform.matrixMode;
491 a->transformStack[a->transformStackDepth].clip[i] = g->transform.clip[i];
492 a->transformStack[a->transformStackDepth].clipPlane[i] = g->transform.clipPlane[i];
494 a->transformStack[a->transformStackDepth].normalize = g->transform.normalize;
496 a->transformStack[a->transformStackDepth].rescaleNormals = g->transform.rescaleNormals;
498 a->transformStackDepth++;
1130 if (a->transformStackDepth == 0)
1135 a->transformStackDepth--;
1136 g->transform.matrixMode = a->transformStack[a->transformStackDepth].matrixMode;
1140 g->transform.clip[i] = a->transformStack[a->transformStackDepth].clip[i];
1141 g->transform.clipPlane[i] = a->transformStack[a->transformStackDepth].clipPlane[i];
1143 g->transform.normalize = a->transformStack[a->transformStackDepth].normalize;
1145 g->transform.rescaleNormals = a->transformStack[a->transformStackDepth].rescaleNormals;