Lines Matching refs:Ambient
109 if (TEST_EQ_4V(lu->Ambient, params)) in do_light()
112 COPY_4V( lu->Ambient, params ); in do_light()
389 COPY_4V( params, ctx->Light.LightSource[l].Ambient ); in _mesa_GetLightfv()
438 params[0] = FLOAT_TO_INT(ctx->Light.LightSource[l].Ambient[0]); in _mesa_GetLightiv()
439 params[1] = FLOAT_TO_INT(ctx->Light.LightSource[l].Ambient[1]); in _mesa_GetLightiv()
440 params[2] = FLOAT_TO_INT(ctx->Light.LightSource[l].Ambient[2]); in _mesa_GetLightiv()
441 params[3] = FLOAT_TO_INT(ctx->Light.LightSource[l].Ambient[3]); in _mesa_GetLightiv()
503 if (TEST_EQ_4V( ctx->Light.Model.Ambient, params )) in _mesa_LightModelfv()
506 COPY_4V( ctx->Light.Model.Ambient, params ); in _mesa_LightModelfv()
685 SCALE_3V( light->_MatAmbient[0], lu->Ambient, in _mesa_update_material()
696 SCALE_3V( light->_MatAmbient[1], lu->Ambient, in _mesa_update_material()
705 ctx->Light.Model.Ambient ); in _mesa_update_material()
711 ctx->Light.Model.Ambient ); in _mesa_update_material()
1185 ASSIGN_4V( lu->Ambient, 0.0, 0.0, 0.0, 1.0 ); in init_light()
1214 ASSIGN_4V( lm->Ambient, 0.2F, 0.2F, 0.2F, 1.0F ); in init_lightmodel()