Searched refs:SpotCutoff (Results 1 – 14 of 14) sorted by relevance
154 if (light->SpotCutoff == params[0]) in _mesa_light()157 light->SpotCutoff = params[0]; in _mesa_light()158 light->_CosCutoff = (cosf(light->SpotCutoff * M_PI / 180.0)); in _mesa_light()161 if (light->SpotCutoff != 180.0F) in _mesa_light()350 params[0] = ctx->Light.Light[l].SpotCutoff; in _mesa_GetLightfv()413 params[0] = (GLint) ctx->Light.Light[l].SpotCutoff; in _mesa_GetLightiv()1137 l->SpotCutoff = 180.0; in init_light()
199 if (light->SpotCutoff == 180.0F) in make_state_key()
1236 p[0] = l->SpotCutoff; in _mesa_PopAttrib()
308 GLfloat SpotCutoff; /**< in degrees */ member
850 return LightParameter::SpotCutoff; in FromGLenum()880 case LightParameter::SpotCutoff: in ToGLenum()920 case LightParameter::SpotCutoff: in operator <<()
235 SpotCutoff = 8, enumerator
259 if (l->SpotCutoff > 0) { in nv10_get_spot_coeff()
128 value[0] = ctx->Light.Light[ln].SpotCutoff; in fetch_state()
2342 case LightParameter::SpotCutoff: in SetLightParameters()2387 case LightParameter::SpotCutoff: in GetLightParameters()2508 case LightParameter::SpotCutoff: in GetLightParameterCount()
203 case LightParameter::SpotCutoff: in ValidateLightCommon()
885 ctx->Driver.Lightfv( ctx, p, GL_SPOT_CUTOFF, &l->SpotCutoff ); in radeonInitState()
969 if (l->SpotCutoff != 180.0F) in radeonLightfv()
1231 ctx->Driver.Lightfv( ctx, p, GL_SPOT_CUTOFF, &l->SpotCutoff ); in r200InitState()
1187 if (l->SpotCutoff != 180.0F) in r200Lightfv()