Lines Matching refs:texUnit
326 struct gl_fixedfunc_texture_unit *texUnit =
328 if (!texUnit)
332 ? (texUnit->Enabled | texBit) : (texUnit->Enabled & ~texBit);
334 if (texUnit->Enabled == newenabled)
338 texUnit->Enabled = newenabled;
931 struct gl_fixedfunc_texture_unit *texUnit = get_texcoord_unit(ctx);
936 if (texUnit) {
938 GLbitfield newenabled = texUnit->TexGenEnabled & ~coordBit;
941 if (texUnit->TexGenEnabled == newenabled)
946 texUnit->TexGenEnabled = newenabled;
954 struct gl_fixedfunc_texture_unit *texUnit = get_texcoord_unit(ctx);
959 if (texUnit) {
961 texUnit->TexGenEnabled & ~STR_BITS;
964 if (texUnit->TexGenEnabled == newenabled)
968 texUnit->TexGenEnabled = newenabled;
1549 const struct gl_fixedfunc_texture_unit *const texUnit =
1552 if (!texUnit)
1555 return (texUnit->Enabled & bit) ? GL_TRUE : GL_FALSE;
1771 const struct gl_fixedfunc_texture_unit *texUnit =
1777 if (texUnit) {
1779 return (texUnit->TexGenEnabled & coordBit) ? GL_TRUE : GL_FALSE;
1785 const struct gl_fixedfunc_texture_unit *texUnit =
1791 if (texUnit) {
1792 return (texUnit->TexGenEnabled & STR_BITS) == STR_BITS