Home
last modified time | relevance | path

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

/external/mesa3d/src/mesa/main/
Dmatrix.c73 assert(ctx->Texture.CurrentUnit < ARRAY_SIZE(ctx->TextureMatrixStack)); in get_named_matrix_stack()
74 return &ctx->TextureMatrixStack[ctx->Texture.CurrentUnit]; in get_named_matrix_stack()
95 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()
1083 for (i = 0; i < ARRAY_SIZE(ctx->TextureMatrixStack); i++) in _mesa_free_matrix_data()
1084 free_matrix_stack(&ctx->TextureMatrixStack[i]); in _mesa_free_matrix_data()
Dtexstate.c329 ctx->CurrentStack = &ctx->TextureMatrixStack[texUnit]; in active_texture()
395 assert(u < ARRAY_SIZE(ctx->TextureMatrixStack)); in _mesa_update_texture_matrices()
396 if (_math_matrix_is_dirty(ctx->TextureMatrixStack[u].Top)) { in _mesa_update_texture_matrices()
397 _math_matrix_analyse( ctx->TextureMatrixStack[u].Top ); in _mesa_update_texture_matrices()
400 ctx->TextureMatrixStack[u].Top->type != MATRIX_IDENTITY) in _mesa_update_texture_matrices()
639 assert(unit < ARRAY_SIZE(ctx->TextureMatrixStack)); in update_texgen()
640 if (ctx->TextureMatrixStack[unit].Top->type != MATRIX_IDENTITY) in update_texgen()
Dget.c760 v->value_int = ctx->TextureMatrixStack[unit].Depth + 1; in find_custom_value()
764 v->value_matrix = ctx->TextureMatrixStack[unit].Top; in find_custom_value()
2882 if (index >= ARRAY_SIZE(ctx->TextureMatrixStack)) in find_value_indexed()
2884 v->value_matrix = ctx->TextureMatrixStack[index].Top; in find_value_indexed()
2887 if (index >= ARRAY_SIZE(ctx->TextureMatrixStack)) in find_value_indexed()
2889 v->value_matrix = ctx->TextureMatrixStack[index].Top; in find_value_indexed()
Drastpos.c508 ctx->TextureMatrixStack[u].Top->m, tc); in _mesa_RasterPos()
Dmtypes.h4995 struct gl_matrix_stack TextureMatrixStack[MAX_TEXTURE_UNITS]; member
/external/mesa3d/src/mesa/tnl/
Dt_vb_texmat.c71 ctx->TextureMatrixStack[i].Top, in run_texmat_stage()
/external/mesa3d/src/mesa/drivers/dri/nouveau/
Dnv10_state_tex.c82 PUSH_DATAm(push, ctx->TextureMatrixStack[i].Top->m); in nv10_emit_tex_mat()
Dnv20_state_tex.c79 PUSH_DATAm(push, ctx->TextureMatrixStack[i].Top->m); in nv20_emit_tex_mat()
/external/mesa3d/src/mesa/program/
Dprog_statevars.c317 assert(index < ARRAY_SIZE(ctx->TextureMatrixStack)); in fetch_state()
318 matrix = ctx->TextureMatrixStack[index].Top; in fetch_state()
/external/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_state.c1866 if (ctx->TextureMatrixStack[unit].Top->type != MATRIX_IDENTITY) { in update_texturematrix()
1876 ctx->TextureMatrixStack[unit].Top, in update_texturematrix()
1881 ctx->TextureMatrixStack[unit].Top ); in update_texturematrix()
/external/mesa3d/src/mesa/drivers/dri/r200/
Dr200_state.c2097 if (ctx->TextureMatrixStack[unit].Top->type != MATRIX_IDENTITY) { in update_texturematrix()
2108 ctx->TextureMatrixStack[unit].Top, in update_texturematrix()
2113 upload_matrix( rmesa, ctx->TextureMatrixStack[unit].Top->m, in update_texturematrix()
/external/mesa3d/src/mesa/drivers/common/
Dmeta.c693 memcpy(save->TextureMatrix, ctx->TextureMatrixStack[0].Top->m, in _mesa_meta_begin()
698 _mesa_load_identity_matrix(ctx, &ctx->TextureMatrixStack[0]); in _mesa_meta_begin()
1107 _mesa_load_matrix(ctx, &ctx->TextureMatrixStack[0], save->TextureMatrix); in _mesa_meta_end()