Lines Matching defs:texUnit
324 struct gl_fixedfunc_texture_unit *texUnit =
326 if (!texUnit)
330 ? (texUnit->Enabled | texBit) : (texUnit->Enabled & ~texBit);
332 if (texUnit->Enabled == newenabled)
336 texUnit->Enabled = newenabled;
913 struct gl_fixedfunc_texture_unit *texUnit = get_texcoord_unit(ctx);
918 if (texUnit) {
920 GLbitfield newenabled = texUnit->TexGenEnabled & ~coordBit;
923 if (texUnit->TexGenEnabled == newenabled)
928 texUnit->TexGenEnabled = newenabled;
936 struct gl_fixedfunc_texture_unit *texUnit = get_texcoord_unit(ctx);
941 if (texUnit) {
943 texUnit->TexGenEnabled & ~STR_BITS;
946 if (texUnit->TexGenEnabled == newenabled)
950 texUnit->TexGenEnabled = newenabled;
1515 const struct gl_fixedfunc_texture_unit *const texUnit =
1518 if (!texUnit)
1521 return (texUnit->Enabled & bit) ? GL_TRUE : GL_FALSE;
1737 const struct gl_fixedfunc_texture_unit *texUnit =
1743 if (texUnit) {
1745 return (texUnit->TexGenEnabled & coordBit) ? GL_TRUE : GL_FALSE;
1751 const struct gl_fixedfunc_texture_unit *texUnit =
1757 if (texUnit) {
1758 return (texUnit->TexGenEnabled & STR_BITS) == STR_BITS