Lines Matching refs:Light
179 shininess = ctx->Light.Material.Attrib[MAT_ATTRIB_FRONT_SHININESS][0]; in _tnl_validate_shine_tables()
183 shininess = ctx->Light.Material.Attrib[MAT_ATTRIB_BACK_SHININESS][0]; in _tnl_validate_shine_tables()
235 if (ctx->Light.ColorMaterialEnabled) { in prepare_materials()
236 GLbitfield bitmask = ctx->Light._ColorMaterialBitmask; in prepare_materials()
256 store->mat[j].current = ctx->Light.Material.Attrib[attr]; in prepare_materials()
337 if (!ctx->Light.Enabled || ctx->VertexProgram._Current) in run_lighting()
372 if (ctx->Light.Model.TwoSide) in run_lighting()
391 if (!ctx->Light.Enabled || ctx->VertexProgram._Current) in validate_lighting()
394 if (ctx->Light._NeedVertices) { in validate_lighting()
395 if (ctx->Light.Model.ColorControl == GL_SEPARATE_SPECULAR_COLOR) in validate_lighting()
402 if (_mesa_is_pow_two(ctx->Light._EnabledLights)) in validate_lighting()