Home | History | Annotate | Download | only in main

Lines Matching defs:unit

86    } unit[NUM_UNITS];
191 key->unit[i].light_enabled = 1;
194 key->unit[i].light_eyepos3_is_zero = 1;
197 key->unit[i].light_spotcutoff_is_180 = 1;
202 key->unit[i].light_attenuated = 1;
243 struct gl_texture_unit *texUnit = &ctx->Texture.Unit[i];
246 key->unit[i].texunit_really_enabled = 1;
250 key->unit[i].coord_replace = 1;
253 key->unit[i].texmat_enabled = 1;
256 key->unit[i].texgen_enabled = 1;
258 key->unit[i].texgen_mode0 =
261 key->unit[i].texgen_mode1 =
264 key->unit[i].texgen_mode2 =
267 key->unit[i].texgen_mode3 =
956 if (!p->state->unit[i].light_spotcutoff_is_180) {
977 if (p->state->unit[i].light_attenuated && !is_undef(dist)) {
987 if (!p->state->unit[i].light_spotcutoff_is_180) {
1054 if (p->state->unit[i].light_enabled)
1119 if (p->state->unit[i].light_enabled) {
1125 if (p->state->unit[i].light_eyepos3_is_zero) {
1161 } else if (p->state->unit[i].light_eyepos3_is_zero) {
1416 if (p->state->unit[i].coord_replace)
1419 if (p->state->unit[i].texgen_enabled ||
1420 p->state->unit[i].texmat_enabled) {
1422 GLuint texmat_enabled = p->state->unit[i].texmat_enabled;
1426 if (p->state->unit[i].texgen_enabled) {
1438 modes[0] = p->state->unit[i].texgen_mode0;
1439 modes[1] = p->state->unit[i].texgen_mode1;
1440 modes[2] = p->state->unit[i].texgen_mode2;
1441 modes[3] = p->state->unit[i].texgen_mode3;