Lines Matching refs:CurrentStack
84 _math_matrix_frustum( ctx->CurrentStack->Top, in _mesa_Frustum()
88 ctx->NewState |= ctx->CurrentStack->DirtyFlag; in _mesa_Frustum()
129 _math_matrix_ortho( ctx->CurrentStack->Top, in _mesa_Ortho()
133 ctx->NewState |= ctx->CurrentStack->DirtyFlag; in _mesa_Ortho()
158 ctx->CurrentStack = &ctx->ModelviewMatrixStack; in _mesa_MatrixMode()
161 ctx->CurrentStack = &ctx->ProjectionMatrixStack; in _mesa_MatrixMode()
180 ctx->CurrentStack = &ctx->TextureMatrixStack[ctx->Texture.CurrentUnit]; in _mesa_MatrixMode()
199 ctx->CurrentStack = &ctx->ProgramMatrixStack[m]; in _mesa_MatrixMode()
228 struct gl_matrix_stack *stack = ctx->CurrentStack; in _mesa_PushMatrix()
285 struct gl_matrix_stack *stack = ctx->CurrentStack; in _mesa_PopMatrix()
330 _math_matrix_set_identity( ctx->CurrentStack->Top ); in _mesa_LoadIdentity()
331 ctx->NewState |= ctx->CurrentStack->DirtyFlag; in _mesa_LoadIdentity()
359 if (memcmp(m, ctx->CurrentStack->Top->m, 16 * sizeof(GLfloat)) != 0) { in _mesa_LoadMatrixf()
361 _math_matrix_loadf( ctx->CurrentStack->Top, m ); in _mesa_LoadMatrixf()
362 ctx->NewState |= ctx->CurrentStack->DirtyFlag; in _mesa_LoadMatrixf()
392 _math_matrix_mul_floats( ctx->CurrentStack->Top, m ); in _mesa_MultMatrixf()
393 ctx->NewState |= ctx->CurrentStack->DirtyFlag; in _mesa_MultMatrixf()
418 _math_matrix_rotate( ctx->CurrentStack->Top, angle, x, y, z); in _mesa_Rotatef()
419 ctx->NewState |= ctx->CurrentStack->DirtyFlag; in _mesa_Rotatef()
443 _math_matrix_scale( ctx->CurrentStack->Top, x, y, z); in _mesa_Scalef()
444 ctx->NewState |= ctx->CurrentStack->DirtyFlag; in _mesa_Scalef()
467 _math_matrix_translate( ctx->CurrentStack->Top, x, y, z); in _mesa_Translatef()
468 ctx->NewState |= ctx->CurrentStack->DirtyFlag; in _mesa_Translatef()
728 ctx->CurrentStack = &ctx->ModelviewMatrixStack; in _mesa_init_matrix()