Lines Matching refs:CurrentStack
83 _math_matrix_frustum( ctx->CurrentStack->Top,
87 ctx->NewState |= ctx->CurrentStack->DirtyFlag;
127 _math_matrix_ortho( ctx->CurrentStack->Top,
131 ctx->NewState |= ctx->CurrentStack->DirtyFlag;
143 * __struct gl_contextRec::CurrentStack and gl_transform_attrib::MatrixMode
158 ctx->CurrentStack = &ctx->ModelviewMatrixStack;
161 ctx->CurrentStack = &ctx->ProjectionMatrixStack;
180 ctx->CurrentStack = &ctx->TextureMatrixStack[ctx->Texture.CurrentUnit];
191 ctx->CurrentStack = &ctx->ProgramMatrixStack[mode - GL_MATRIX0_NV];
215 ctx->CurrentStack = &ctx->ProgramMatrixStack[m];
244 struct gl_matrix_stack *stack = ctx->CurrentStack;
284 struct gl_matrix_stack *stack = ctx->CurrentStack;
327 _math_matrix_set_identity( ctx->CurrentStack->Top );
328 ctx->NewState |= ctx->CurrentStack->DirtyFlag;
357 _math_matrix_loadf( ctx->CurrentStack->Top, m );
358 ctx->NewState |= ctx->CurrentStack->DirtyFlag;
386 _math_matrix_mul_floats( ctx->CurrentStack->Top, m );
387 ctx->NewState |= ctx->CurrentStack->DirtyFlag;
411 _math_matrix_rotate( ctx->CurrentStack->Top, angle, x, y, z);
412 ctx->NewState |= ctx->CurrentStack->DirtyFlag;
435 _math_matrix_scale( ctx->CurrentStack->Top, x, y, z);
436 ctx->NewState |= ctx->CurrentStack->DirtyFlag;
458 _math_matrix_translate( ctx->CurrentStack->Top, x, y, z);
459 ctx->NewState |= ctx->CurrentStack->DirtyFlag;
731 ctx->CurrentStack = &ctx->ModelviewMatrixStack;