Searched refs:TextureMatrixStack (Results 1 – 6 of 6) sorted by relevance
74 assert(ctx->Texture.CurrentUnit < ARRAY_SIZE(ctx->TextureMatrixStack)); in get_named_matrix_stack()75 return &ctx->TextureMatrixStack[ctx->Texture.CurrentUnit]; in get_named_matrix_stack()96 return &ctx->TextureMatrixStack[mode - GL_TEXTURE0]; in get_named_matrix_stack()1056 for (i = 0; i < ARRAY_SIZE(ctx->TextureMatrixStack); i++) in _mesa_init_matrix()1057 init_matrix_stack(&ctx->TextureMatrixStack[i], MAX_TEXTURE_STACK_DEPTH, in _mesa_init_matrix()1082 for (i = 0; i < ARRAY_SIZE(ctx->TextureMatrixStack); i++) in _mesa_free_matrix_data()1083 free_matrix_stack(&ctx->TextureMatrixStack[i]); in _mesa_free_matrix_data()
335 ctx->CurrentStack = &ctx->TextureMatrixStack[texUnit]; in active_texture()402 assert(u < ARRAY_SIZE(ctx->TextureMatrixStack)); in _mesa_update_texture_matrices()403 if (_math_matrix_is_dirty(ctx->TextureMatrixStack[u].Top)) { in _mesa_update_texture_matrices()404 _math_matrix_analyse( ctx->TextureMatrixStack[u].Top ); in _mesa_update_texture_matrices()407 ctx->TextureMatrixStack[u].Top->type != MATRIX_IDENTITY) in _mesa_update_texture_matrices()651 assert(unit < ARRAY_SIZE(ctx->TextureMatrixStack)); in update_texgen()652 if (ctx->TextureMatrixStack[unit].Top->type != MATRIX_IDENTITY) in update_texgen()
802 v->value_int = ctx->TextureMatrixStack[unit].Depth + 1; in find_custom_value()806 v->value_matrix = ctx->TextureMatrixStack[unit].Top; in find_custom_value()2973 if (index >= ARRAY_SIZE(ctx->TextureMatrixStack)) in find_value_indexed()2975 v->value_matrix = ctx->TextureMatrixStack[index].Top; in find_value_indexed()2978 if (index >= ARRAY_SIZE(ctx->TextureMatrixStack)) in find_value_indexed()2980 v->value_matrix = ctx->TextureMatrixStack[index].Top; in find_value_indexed()
516 ctx->TextureMatrixStack[u].Top->m, tc); in _mesa_RasterPos()
3311 struct gl_matrix_stack TextureMatrixStack[MAX_TEXTURE_UNITS]; member
415 assert(index < ARRAY_SIZE(ctx->TextureMatrixStack)); in fetch_state()416 const GLmatrix *matrix = ctx->TextureMatrixStack[index].Top; in fetch_state()422 assert(index < ARRAY_SIZE(ctx->TextureMatrixStack)); in fetch_state()423 const GLmatrix *matrix = ctx->TextureMatrixStack[index].Top; in fetch_state()429 assert(index < ARRAY_SIZE(ctx->TextureMatrixStack)); in fetch_state()430 const GLmatrix *matrix = ctx->TextureMatrixStack[index].Top; in fetch_state()436 assert(index < ARRAY_SIZE(ctx->TextureMatrixStack)); in fetch_state()437 const GLmatrix *matrix = ctx->TextureMatrixStack[index].Top; in fetch_state()