Lines Matching refs:textureStack
106 free_matrix_stack_data(&(t->textureStack[i]));
129 crStateInitMatrixStack(&t->textureStack[i], CR_MAX_TEXTURE_STACK_DEPTH);
285 t->currentStack = &(t->textureStack[tex->curTextureUnit]);
1050 if (from->textureStack[i].depth != to->textureStack[i].depth)
1057 GLuint td = to->textureStack[j].depth;
1058 GLuint fd = from->textureStack[j].depth;
1061 !crMatrixIsEqual(to->textureStack[j].top, from->textureStack[j].top))
1077 LOADMATRIX(to->textureStack[j].stack + i);
1082 if (i != to->textureStack[j].depth)
1299 if (from->textureStack[i].depth != to->textureStack[i].depth)
1310 if (from->textureStack[j].depth > to->textureStack[j].depth)
1316 for (i = to->textureStack[j].depth; i < from->textureStack[j].depth; i++)
1321 from->textureStack[j].depth = to->textureStack[j].depth;
1324 for (i = from->textureStack[j].depth; i <= to->textureStack[j].depth; i++)
1330 LOADMATRIX(to->textureStack[j].stack + i);
1331 from->textureStack[j].stack[i] = to->textureStack[j].stack[i];
1334 if (i != to->textureStack[j].depth)
1337 from->textureStack[j].depth = to->textureStack[j].depth;
1338 from->textureStack[j].top = from->textureStack[j].stack + from->textureStack[j].depth;