Home
last modified time | relevance | path

Searched refs:ModelviewMatrixStack (Results 1 – 17 of 17) sorted by relevance

/external/mesa3d/src/mesa/main/
Dclip.c78 if (_math_matrix_is_dirty(ctx->ModelviewMatrixStack.Top)) in _mesa_ClipPlane()
79 _math_matrix_analyse( ctx->ModelviewMatrixStack.Top ); in _mesa_ClipPlane()
82 ctx->ModelviewMatrixStack.Top->inv ); in _mesa_ClipPlane()
Dmatrix.c158 ctx->CurrentStack = &ctx->ModelviewMatrixStack; in _mesa_MatrixMode()
607 ctx->ModelviewMatrixStack.Top ); in calculate_model_project_matrix()
627 _math_matrix_analyse( ctx->ModelviewMatrixStack.Top ); in _mesa_update_modelview_project()
632 ctx->ModelviewMatrixStack.Top->inv, in _mesa_update_modelview_project()
721 init_matrix_stack(&ctx->ModelviewMatrixStack, MAX_MODELVIEW_STACK_DEPTH, in _mesa_init_matrix()
731 ctx->CurrentStack = &ctx->ModelviewMatrixStack; in _mesa_init_matrix()
750 free_matrix_stack(&ctx->ModelviewMatrixStack); in _mesa_free_matrix_data()
Dlight.c231 TRANSFORM_POINT(temp, ctx->ModelviewMatrixStack.Top->m, params); in _mesa_Lightfv()
236 if (_math_matrix_is_dirty(ctx->ModelviewMatrixStack.Top)) { in _mesa_Lightfv()
237 _math_matrix_analyse(ctx->ModelviewMatrixStack.Top); in _mesa_Lightfv()
239 TRANSFORM_DIRECTION(temp, params, ctx->ModelviewMatrixStack.Top->m); in _mesa_Lightfv()
959 TRANSFORM_NORMAL( ctx->_EyeZDir, eye_z, ctx->ModelviewMatrixStack.Top->m ); in compute_light_positions()
970 TRANSFORM_POINT( light->_Position, ctx->ModelviewMatrixStack.Top->inv, in compute_light_positions()
1007 ctx->ModelviewMatrixStack.Top->m); in compute_light_positions()
1034 if (!_math_matrix_is_length_preserving(ctx->ModelviewMatrixStack.Top)) { in update_modelview_scale()
1035 const GLfloat *m = ctx->ModelviewMatrixStack.Top->inv; in update_modelview_scale()
1064 !_math_matrix_is_length_preserving(ctx->ModelviewMatrixStack.Top)) in _mesa_update_tnl_spaces()
Dtexgen.c170 if (_math_matrix_is_dirty(ctx->ModelviewMatrixStack.Top)) { in _mesa_TexGenfv()
171 _math_matrix_analyse(ctx->ModelviewMatrixStack.Top); in _mesa_TexGenfv()
174 ctx->ModelviewMatrixStack.Top->inv); in _mesa_TexGenfv()
Dget.c600 { GL_MODELVIEW_MATRIX, CONTEXT_MATRIX(ModelviewMatrixStack.Top), NO_EXTRA },
602 offsetof(struct gl_context, ModelviewMatrixStack.Depth), NO_EXTRA },
983 CONTEXT_MATRIX_T(ModelviewMatrixStack), NO_EXTRA },
Dattrib.c1060 if (_math_matrix_is_dirty(ctx->ModelviewMatrixStack.Top)) in _mesa_PopAttrib()
1061 _math_matrix_analyse( ctx->ModelviewMatrixStack.Top ); in _mesa_PopAttrib()
Dmtypes.h3415 struct gl_matrix_stack ModelviewMatrixStack; member
/external/mesa3d/src/mesa/tnl/
Dt_vb_normals.c62 if (_math_matrix_is_general_scale(ctx->ModelviewMatrixStack.Top)) in run_normal_stage()
67 store->NormalTransform( ctx->ModelviewMatrixStack.Top, in run_normal_stage()
109 if (_math_matrix_has_rotation(ctx->ModelviewMatrixStack.Top)) { in validate_normal_stage()
Dt_vb_vertex.c153 if (ctx->ModelviewMatrixStack.Top->type == MATRIX_IDENTITY) in run_vertex_stage()
157 ctx->ModelviewMatrixStack.Top, in run_vertex_stage()
Dt_rasterpos.c382 TRANSFORM_POINT( eye, ctx->ModelviewMatrixStack.Top->m, vObj ); in _tnl_RasterPos()
436 const GLfloat *inv = ctx->ModelviewMatrixStack.Top->inv; in _tnl_RasterPos()
Dt_vb_fog.c164 const GLfloat *m = ctx->ModelviewMatrixStack.Top->m; in run_fog_stage()
/external/mesa3d/src/mesa/drivers/dri/nouveau/
Dnv20_state_tnl.c337 GLmatrix *m = ctx->ModelviewMatrixStack.Top; in nv20_emit_modelview()
Dnv10_state_tnl.c441 GLmatrix *m = ctx->ModelviewMatrixStack.Top; in nv10_emit_modelview()
/external/mesa3d/src/mesa/program/
Dprog_statevars.c303 matrix = ctx->ModelviewMatrixStack.Top; in _mesa_fetch_state()
1121 mat = ctx->ModelviewMatrixStack.Top; in _mesa_load_tracked_matrices()
/external/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_state.c2068 upload_matrix( rmesa, ctx->ModelviewMatrixStack.Top->m, MODEL ); in radeonValidateState()
2069 upload_matrix_t( rmesa, ctx->ModelviewMatrixStack.Top->inv, MODEL_IT ); in radeonValidateState()
/external/mesa3d/src/mesa/drivers/dri/r200/
Dr200_state.c2296 upload_matrix( rmesa, ctx->ModelviewMatrixStack.Top->m, R200_MTX_MV ); in r200ValidateState()
2297 upload_matrix_t( rmesa, ctx->ModelviewMatrixStack.Top->inv, R200_MTX_IMV ); in r200ValidateState()
/external/mesa3d/src/mesa/drivers/common/
Dmeta.c709 memcpy(save->ModelviewMatrix, ctx->ModelviewMatrixStack.Top->m, in _mesa_meta_begin()