Home
last modified time | relevance | path

Searched refs:_CosCutoff (Results 1 – 9 of 9) sorted by relevance

/external/mesa3d/src/mesa/main/
Dlight.c160 light->_CosCutoff = (GLfloat) (cos(light->SpotCutoff * DEG2RAD)); in _mesa_light()
161 if (light->_CosCutoff < 0) in _mesa_light()
162 light->_CosCutoff = 0; in _mesa_light()
1016 if (PV_dot_dir > light->_CosCutoff) { in compute_light_positions()
1138 l->_CosCutoff = 0.0; /* KW: -ve values not admitted */ in init_light()
Dmtypes.h667 GLfloat _CosCutoff; /**< = MAX(0, cos(SpotCutoff)) */ member
/external/mesa3d/src/mesa/x86/
Dgen_matypes.c197 OFFSET( "LIGHT_COS_CUTOFF ", struct gl_light, _CosCutoff ); in main()
/external/mesa3d/src/mesa/tnl/
Dt_vb_lighttmp.h146 if (PV_dot_dir<light->_CosCutoff) { in TAG()
324 if (PV_dot_dir<light->_CosCutoff) { in TAG()
Dt_rasterpos.c164 if (PV_dot_dir<light->_CosCutoff) { in shade_rastpos()
/external/mesa3d/src/mesa/program/
Dprog_statevars.c117 value[3] = ctx->Light.Light[ln]._CosCutoff; in _mesa_fetch_state()
505 value[3] = ctx->Light.Light[ln]._CosCutoff; in _mesa_fetch_state()
/external/mesa3d/src/mesa/drivers/dri/nouveau/
Dnv10_state_tnl.c259 float cutoff = MAX2(a3, 1 / (1 - l->_CosCutoff)); in nv10_get_spot_coeff()
/external/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_state.c965 fcmd[LIT_SPOT_CUTOFF] = l->_CosCutoff; in radeonLightfv()
/external/mesa3d/src/mesa/drivers/dri/r200/
Dr200_state.c1181 fcmd[LIT_SPOT_CUTOFF] = l->_CosCutoff; in r200Lightfv()