Lines Matching full:texunit
429 const struct gl_texture_unit *texUnit = &ctx->Texture.Unit[i];
430 const struct gl_texture_object *texObj = texUnit->_Current;
431 const struct gl_tex_env_combine_state *comb = texUnit->_CurrentCombine;
435 if (!texUnit->_ReallyEnabled || !texUnit->Enabled)
447 translate_tex_src_bit(texUnit->_ReallyEnabled);
458 translate_mode(texUnit->EnvMode, comb->ModeRGB);
460 translate_mode(texUnit->EnvMode, comb->ModeA);
479 key->unit[i].OptRGB[1].Source = texUnit->BumpTarget - GL_TEXTURE0 + SRC_TEXTURE0;