• Home
  • Raw
  • Download

Lines Matching refs:texUnit

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