Searched refs:SpotCutoff (Results 1 – 18 of 18) sorted by relevance
179 if (lu->SpotCutoff == params[0]) in _mesa_light()183 bool old_is_180 = lu->SpotCutoff == 180.0f; in _mesa_light()185 lu->SpotCutoff = params[0]; in _mesa_light()186 lu->_CosCutoff = (cosf(lu->SpotCutoff * M_PI / 180.0)); in _mesa_light()412 params[0] = ctx->Light.LightSource[l].SpotCutoff; in _mesa_GetLightfv()475 params[0] = (GLint) ctx->Light.LightSource[l].SpotCutoff; in _mesa_GetLightiv()1224 lu->SpotCutoff = 180.0; in init_light()
199 if (lu->SpotCutoff == 180.0F) in make_state_key()
977 p[0] = lu->SpotCutoff; in _mesa_PopAttrib()
575 GLfloat SpotCutoff; /**< STATE_SPOT_CUTOFF in degrees */ member
822 return LightParameter::SpotCutoff; in FromGLenum()852 case LightParameter::SpotCutoff: in ToGLenum()892 case LightParameter::SpotCutoff: in operator <<()
233 SpotCutoff = 8, enumerator
850 return LightParameter::SpotCutoff; in FromGLenum()880 case LightParameter::SpotCutoff: in ToGLenum()920 case LightParameter::SpotCutoff: in operator <<()
235 SpotCutoff = 8, enumerator
259 if (lu->SpotCutoff > 0) { in nv10_get_spot_coeff()
2083 case LightParameter::SpotCutoff: in SetLightParameters()2128 case LightParameter::SpotCutoff: in GetLightParameters()2247 case LightParameter::SpotCutoff: in GetLightParameterCount()
196 case LightParameter::SpotCutoff: in ValidateLightCommon()
2356 case LightParameter::SpotCutoff: in SetLightParameters()2401 case LightParameter::SpotCutoff: in GetLightParameters()2522 case LightParameter::SpotCutoff: in GetLightParameterCount()
211 case LightParameter::SpotCutoff: in ValidateLightCommon()
885 ctx->Driver.Lightfv( ctx, p, GL_SPOT_CUTOFF, &lu->SpotCutoff ); in radeonInitState()
971 if (lu->SpotCutoff != 180.0F) in radeonLightfv()
116 value[0] = ctx->Light.LightSource[ln].SpotCutoff; in fetch_state()
1231 ctx->Driver.Lightfv( ctx, p, GL_SPOT_CUTOFF, &lu->SpotCutoff ); in r200InitState()
1188 if (lu->SpotCutoff != 180.0F) in r200Lightfv()