Home
last modified time | relevance | path

Searched refs:_NeedEyeCoords (Results 1 – 13 of 13) sorted by relevance

/third_party/mesa3d/src/mesa/main/
Dlight.c956 bool old_need_eye_coords = ctx->Light._NeedEyeCoords; in _mesa_update_lighting()
957 ctx->Light._NeedEyeCoords = GL_FALSE; in _mesa_update_lighting()
960 return old_need_eye_coords != ctx->Light._NeedEyeCoords ? in _mesa_update_lighting()
976 ctx->Light._NeedEyeCoords = ((flags & LIGHT_POSITIONAL) || in _mesa_update_lighting()
984 ctx->Light._NeedEyeCoords = GL_TRUE; in _mesa_update_lighting()
986 return old_need_eye_coords != ctx->Light._NeedEyeCoords ? in _mesa_update_lighting()
1035 if (ctx->_NeedEyeCoords) { in compute_light_positions()
1048 if (ctx->_NeedEyeCoords) { in compute_light_positions()
1081 if (ctx->_NeedEyeCoords) { in compute_light_positions()
1123 if (ctx->_NeedEyeCoords) in update_modelview_scale()
[all …]
Drastpos.c480 if (ctx->_NeedEyeCoords) { in _mesa_RasterPos()
Dmtypes.h618 GLboolean _NeedEyeCoords; member
5493 GLboolean _NeedEyeCoords; member
Dffvertex_prog.c163 key->need_eye_coords = ctx->_NeedEyeCoords; in make_state_key()
/third_party/mesa3d/src/mesa/tnl/
Dt_vb_normals.c102 if (ctx->_NeedEyeCoords) { in validate_normal_stage()
Dt_vb_fog.c163 if (!ctx->_NeedEyeCoords) { in run_fog_stage()
Dt_vb_vertex.c149 if (ctx->_NeedEyeCoords) { in run_vertex_stage()
Dt_vb_light.c334 GLvector4f *input = ctx->_NeedEyeCoords ? VB->EyePtr : VB->AttribPtr[_TNL_ATTRIB_POS]; in run_lighting()
/third_party/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_state.c866 if (ctx->_NeedEyeCoords) in update_light()
1661 GLboolean tmp = ctx->_NeedEyeCoords ? state : !state; in radeonEnable()
1725 fprintf(stderr, "%s %d BEFORE %x\n", __func__, ctx->_NeedEyeCoords, in radeonLightingSpaceChange()
1728 if (ctx->_NeedEyeCoords) in radeonLightingSpaceChange()
1740 fprintf(stderr, "%s %d AFTER %x\n", __func__, ctx->_NeedEyeCoords, in radeonLightingSpaceChange()
Dradeon_state_init.c219 TCL_CHECK( tcl_eyespace_or_lighting_add4, ctx->_NeedEyeCoords || ctx->Light.Enabled, 4 )
234 TCL_CHECK( tcl_eyespace_or_fog_add4, ctx->_NeedEyeCoords || ctx->Fog.Enabled, 4 )
/third_party/mesa3d/src/mesa/drivers/dri/r200/
Dr200_state.c1093 if (ctx->_NeedEyeCoords) in update_light()
1869 GLboolean tmp = ctx->_NeedEyeCoords ? state : !state; in r200Enable()
2029 fprintf(stderr, "%s %d BEFORE %x\n", __func__, ctx->_NeedEyeCoords, in r200LightingSpaceChange()
2032 if (ctx->_NeedEyeCoords) in r200LightingSpaceChange()
2045 fprintf(stderr, "%s %d AFTER %x\n", __func__, ctx->_NeedEyeCoords, in r200LightingSpaceChange()
/third_party/mesa3d/src/mesa/drivers/dri/nouveau/
Dnv20_state_tnl.c353 if (ctx->Light._NeedEyeCoords || ctx->Fog.Enabled || in nv20_emit_modelview()
Dnv10_state_tnl.c457 if (ctx->Light._NeedEyeCoords || ctx->Fog.Enabled || in nv10_emit_modelview()