Lines Matching refs:Light
92 unsigned mask = get_material_bitmask(ctx->Light._ColorMaterialBitmask);
95 PUSH_DATA (push, ctx->Light.ColorMaterialEnabled ? mask : 0);
179 struct gl_lightmodel *m = &ctx->Light.Model;
193 PUSH_DATAb(push, ctx->Light.Model.TwoSide);
201 struct gl_light *l = &ctx->Light.Light[i];
231 (ctx->Light.ColorMaterialEnabled && \
232 ctx->Light._ColorMaterialBitmask & (1 << MAT_ATTRIB_##attr(side)))
239 float (*mat)[4] = ctx->Light.Material.Attrib;
245 COPY_3V(c_factor, ctx->Light.Model.Ambient);
249 ctx->Light.Model.Ambient);
253 COPY_3V(c_scene, ctx->Light._BaseColor[side]);
260 if (ctx->Light.ColorMaterialEnabled) {
265 foreach(l, &ctx->Light.EnabledList) {
266 const int i = l - ctx->Light.Light;
281 GLfloat (*mat)[4] = ctx->Light.Material.Attrib;
287 foreach(l, &ctx->Light.EnabledList) {
288 const int i = l - ctx->Light.Light;
305 foreach(l, &ctx->Light.EnabledList) {
306 const int i = l - ctx->Light.Light;
321 float (*mat)[4] = ctx->Light.Material.Attrib;
342 if (ctx->Light._NeedEyeCoords || ctx->Fog.Enabled ||
348 if (ctx->Light.Enabled ||