Home | History | Annotate | Download | only in nouveau

Lines Matching refs:Light

60 	unsigned mask = get_material_bitmask(ctx->Light._ColorMaterialBitmask);
63 PUSH_DATA (push, ctx->Light.ColorMaterialEnabled ? mask : 0);
185 en_lights |= get_light_mode(&ctx->Light.Light[i]) << 2 * i;
190 PUSH_DATAb(push, ctx->Light.Enabled);
199 struct gl_lightmodel *m = &ctx->Light.Model;
209 (!ctx->Light.Enabled && ctx->Fog.ColorSumEnabled ?
285 struct gl_light *l = &ctx->Light.Light[i];
315 (ctx->Light.ColorMaterialEnabled && \
316 ctx->Light._ColorMaterialBitmask & (1 << MAT_ATTRIB_FRONT_##attr))
322 float (*mat)[4] = ctx->Light.Material.Attrib;
327 COPY_3V(c_scene, ctx->Light.Model.Ambient);
332 ctx->Light.Model.Ambient);
336 COPY_3V(c_scene, ctx->Light._BaseColor[0]);
343 if (ctx->Light.ColorMaterialEnabled) {
348 foreach(l, &ctx->Light.EnabledList) {
349 const int i = l - ctx->Light.Light;
363 GLfloat (*mat)[4] = ctx->Light.Material.Attrib;
369 foreach(l, &ctx->Light.EnabledList) {
370 const int i = l - ctx->Light.Light;
386 foreach(l, &ctx->Light.EnabledList) {
387 const int i = l - ctx->Light.Light;
425 float (*mat)[4] = ctx->Light.Material.Attrib;
446 if (ctx->Light._NeedEyeCoords || ctx->Fog.Enabled ||
452 if (ctx->Light.Enabled ||