Home
last modified time | relevance | path

Searched refs:TextureMatrixStack (Results 1 – 6 of 6) sorted by relevance

/third_party/mesa3d/src/mesa/main/
Dmatrix.c74 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()
1043 for (i = 0; i < ARRAY_SIZE(ctx->TextureMatrixStack); i++) in _mesa_init_matrix()
1044 init_matrix_stack(&ctx->TextureMatrixStack[i], MAX_TEXTURE_STACK_DEPTH, in _mesa_init_matrix()
1069 for (i = 0; i < ARRAY_SIZE(ctx->TextureMatrixStack); i++) in _mesa_free_matrix_data()
1070 free_matrix_stack(&ctx->TextureMatrixStack[i]); in _mesa_free_matrix_data()
Dtexstate.c335 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()
Dget.c787 v->value_int = ctx->TextureMatrixStack[unit].Depth + 1; in find_custom_value()
791 v->value_matrix = ctx->TextureMatrixStack[unit].Top; in find_custom_value()
2936 if (index >= ARRAY_SIZE(ctx->TextureMatrixStack)) in find_value_indexed()
2938 v->value_matrix = ctx->TextureMatrixStack[index].Top; in find_value_indexed()
2941 if (index >= ARRAY_SIZE(ctx->TextureMatrixStack)) in find_value_indexed()
2943 v->value_matrix = ctx->TextureMatrixStack[index].Top; in find_value_indexed()
Drastpos.c516 ctx->TextureMatrixStack[u].Top->m, tc); in _mesa_RasterPos()
Dmtypes.h3357 struct gl_matrix_stack TextureMatrixStack[MAX_TEXTURE_UNITS]; member
/third_party/mesa3d/src/mesa/program/
Dprog_statevars.c405 assert(index < ARRAY_SIZE(ctx->TextureMatrixStack)); in fetch_state()
406 const GLmatrix *matrix = ctx->TextureMatrixStack[index].Top; in fetch_state()
412 assert(index < ARRAY_SIZE(ctx->TextureMatrixStack)); in fetch_state()
413 const GLmatrix *matrix = ctx->TextureMatrixStack[index].Top; in fetch_state()
419 assert(index < ARRAY_SIZE(ctx->TextureMatrixStack)); in fetch_state()
420 const GLmatrix *matrix = ctx->TextureMatrixStack[index].Top; in fetch_state()
426 assert(index < ARRAY_SIZE(ctx->TextureMatrixStack)); in fetch_state()
427 const GLmatrix *matrix = ctx->TextureMatrixStack[index].Top; in fetch_state()