Home
last modified time | relevance | path

Searched refs:SpotCutoff (Results 1 – 11 of 11) sorted by relevance

/external/mesa3d/src/mesa/main/
Dlight.c156 if (light->SpotCutoff == params[0]) in _mesa_light()
159 light->SpotCutoff = params[0]; in _mesa_light()
160 light->_CosCutoff = (GLfloat) (cos(light->SpotCutoff * DEG2RAD)); in _mesa_light()
163 if (light->SpotCutoff != 180.0F) in _mesa_light()
365 params[0] = ctx->Light.Light[l].SpotCutoff; in _mesa_GetLightfv()
429 params[0] = (GLint) ctx->Light.Light[l].SpotCutoff; in _mesa_GetLightiv()
1137 l->SpotCutoff = 180.0; in init_light()
Dffvertex_prog.c196 if (light->SpotCutoff == 180.0) in make_state_key()
Dmtypes.h666 GLfloat SpotCutoff; /**< in degrees */ member
Dattrib.c1078 p[0] = l->SpotCutoff; in _mesa_PopAttrib()
/external/mesa3d/src/mesa/x86/
Dgen_matypes.c196 OFFSET( "LIGHT_SPOT_CUTOFF ", struct gl_light, SpotCutoff ); in main()
/external/mesa3d/src/mesa/drivers/dri/nouveau/
Dnv10_state_tnl.c258 if (l->SpotCutoff > 0) { in nv10_get_spot_coeff()
/external/mesa3d/src/mesa/program/
Dprog_statevars.c120 value[0] = ctx->Light.Light[ln].SpotCutoff; in _mesa_fetch_state()
/external/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_state_init.c881 ctx->Driver.Lightfv( ctx, p, GL_SPOT_CUTOFF, &l->SpotCutoff ); in radeonInitState()
Dradeon_state.c968 if (l->SpotCutoff != 180.0F) in radeonLightfv()
/external/mesa3d/src/mesa/drivers/dri/r200/
Dr200_state_init.c1227 ctx->Driver.Lightfv( ctx, p, GL_SPOT_CUTOFF, &l->SpotCutoff ); in r200InitState()
Dr200_state.c1184 if (l->SpotCutoff != 180.0F) in r200Lightfv()