Home | History | Annotate | Download | only in main

Lines Matching full:texunit

240    struct gl_texture_unit *texUnit = _mesa_get_current_tex_unit(ctx);
242 ? (texUnit->Enabled | texBit) : (texUnit->Enabled & ~texBit);
244 if (texUnit->Enabled == newenabled)
248 texUnit->Enabled = newenabled;
691 struct gl_texture_unit *texUnit = get_texcoord_unit(ctx);
696 if (texUnit) {
698 GLbitfield newenabled = texUnit->TexGenEnabled & ~coordBit;
701 if (texUnit->TexGenEnabled == newenabled)
704 texUnit->TexGenEnabled = newenabled;
713 struct gl_texture_unit *texUnit = get_texcoord_unit(ctx);
718 if (texUnit) {
720 texUnit->TexGenEnabled & ~STR_BITS;
723 if (texUnit->TexGenEnabled == newenabled)
726 texUnit->TexGenEnabled = newenabled;
1210 const struct gl_texture_unit *const texUnit =
1212 return (texUnit->Enabled & bit) ? GL_TRUE : GL_FALSE;
1429 const struct gl_texture_unit *texUnit = get_texcoord_unit(ctx);
1434 if (texUnit) {
1436 return (texUnit->TexGenEnabled & coordBit) ? GL_TRUE : GL_FALSE;
1443 const struct gl_texture_unit *texUnit = get_texcoord_unit(ctx);
1448 if (texUnit) {
1449 return (texUnit->TexGenEnabled & STR_BITS) == STR_BITS