Home
last modified time | relevance | path

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

/external/mesa3d/src/mesa/main/
Dclip.c77 if (_math_matrix_is_dirty(ctx->ModelviewMatrixStack.Top)) in _mesa_ClipPlane()
78 _math_matrix_analyse( ctx->ModelviewMatrixStack.Top ); in _mesa_ClipPlane()
81 ctx->ModelviewMatrixStack.Top->inv ); in _mesa_ClipPlane()
Dmatrix.c158 ctx->CurrentStack = &ctx->ModelviewMatrixStack; in _mesa_MatrixMode()
610 ctx->ModelviewMatrixStack.Top ); in calculate_model_project_matrix()
630 _math_matrix_analyse( ctx->ModelviewMatrixStack.Top ); in _mesa_update_modelview_project()
718 init_matrix_stack(&ctx->ModelviewMatrixStack, MAX_MODELVIEW_STACK_DEPTH, in _mesa_init_matrix()
728 ctx->CurrentStack = &ctx->ModelviewMatrixStack; in _mesa_init_matrix()
747 free_matrix_stack(&ctx->ModelviewMatrixStack); in _mesa_free_matrix_data()
Dlight.c229 TRANSFORM_POINT(temp, ctx->ModelviewMatrixStack.Top->m, params); in _mesa_Lightfv()
234 if (_math_matrix_is_dirty(ctx->ModelviewMatrixStack.Top)) { in _mesa_Lightfv()
235 _math_matrix_analyse(ctx->ModelviewMatrixStack.Top); in _mesa_Lightfv()
237 TRANSFORM_DIRECTION(temp, params, ctx->ModelviewMatrixStack.Top->m); in _mesa_Lightfv()
958 TRANSFORM_NORMAL( ctx->_EyeZDir, eye_z, ctx->ModelviewMatrixStack.Top->m ); in compute_light_positions()
972 TRANSFORM_POINT( light->_Position, ctx->ModelviewMatrixStack.Top->inv, in compute_light_positions()
1009 ctx->ModelviewMatrixStack.Top->m); in compute_light_positions()
1036 if (!_math_matrix_is_length_preserving(ctx->ModelviewMatrixStack.Top)) { in update_modelview_scale()
1037 const GLfloat *m = ctx->ModelviewMatrixStack.Top->inv; in update_modelview_scale()
1066 !_math_matrix_is_length_preserving(ctx->ModelviewMatrixStack.Top)) in _mesa_update_tnl_spaces()
Dtexgen.c165 if (_math_matrix_is_dirty(ctx->ModelviewMatrixStack.Top)) { in _mesa_TexGenfv()
166 _math_matrix_analyse(ctx->ModelviewMatrixStack.Top); in _mesa_TexGenfv()
169 ctx->ModelviewMatrixStack.Top->inv); in _mesa_TexGenfv()
Drastpos.c387 TRANSFORM_POINT( eye, ctx->ModelviewMatrixStack.Top->m, vObj ); in _mesa_RasterPos()
438 const GLfloat *inv = ctx->ModelviewMatrixStack.Top->inv; in _mesa_RasterPos()
Dattrib.c1149 if (_math_matrix_is_dirty(ctx->ModelviewMatrixStack.Top)) in _mesa_PopAttrib()
1150 _math_matrix_analyse( ctx->ModelviewMatrixStack.Top ); in _mesa_PopAttrib()
Dmtypes.h4421 struct gl_matrix_stack ModelviewMatrixStack; member
/external/mesa3d/src/mesa/tnl/
Dt_vb_normals.c61 if (_math_matrix_is_general_scale(ctx->ModelviewMatrixStack.Top)) in run_normal_stage()
66 store->NormalTransform( ctx->ModelviewMatrixStack.Top, in run_normal_stage()
108 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_vb_fog.c164 const GLfloat *m = ctx->ModelviewMatrixStack.Top->m; in run_fog_stage()
/external/mesa3d/src/mesa/drivers/dri/nouveau/
Dnv20_state_tnl.c344 GLmatrix *m = ctx->ModelviewMatrixStack.Top; in nv20_emit_modelview()
Dnv10_state_tnl.c448 GLmatrix *m = ctx->ModelviewMatrixStack.Top; in nv10_emit_modelview()
/external/mesa3d/prebuilt-intermediates/main/
Dget_hash.h142 { GL_MODELVIEW_MATRIX, CONTEXT_MATRIX(ModelviewMatrixStack.Top), NO_EXTRA },
143 …EW_STACK_DEPTH, LOC_CUSTOM, TYPE_INT, offsetof(struct gl_context, ModelviewMatrixStack.Depth), NO_…
544 { GL_TRANSPOSE_MODELVIEW_MATRIX_ARB, CONTEXT_MATRIX_T(ModelviewMatrixStack), NO_EXTRA },
/external/mesa3d/src/mesa/program/
Dprog_statevars.c308 matrix = ctx->ModelviewMatrixStack.Top; in _mesa_fetch_state()
/external/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_state.c2019 upload_matrix( rmesa, ctx->ModelviewMatrixStack.Top->m, MODEL ); in radeonValidateState()
2020 upload_matrix_t( rmesa, ctx->ModelviewMatrixStack.Top->inv, MODEL_IT ); in radeonValidateState()
/external/mesa3d/src/mesa/drivers/dri/r200/
Dr200_state.c2241 upload_matrix( rmesa, ctx->ModelviewMatrixStack.Top->m, R200_MTX_MV ); in r200ValidateState()
2242 upload_matrix_t( rmesa, ctx->ModelviewMatrixStack.Top->inv, R200_MTX_IMV ); in r200ValidateState()
/external/mesa3d/src/mesa/drivers/common/
Dmeta.c654 memcpy(save->ModelviewMatrix, ctx->ModelviewMatrixStack.Top->m, in _mesa_meta_begin()