Lines Matching defs:unit
1040 for (u = 0; u < Elements(ctx->Texture.Unit); u++) {
1041 struct gl_texture_unit *unit = &ctx->Texture.Unit[u];
1043 if (texObj == unit->CurrentTex[tex]) {
1044 _mesa_reference_texobj(&unit->CurrentTex[tex],
1046 ASSERT(unit->CurrentTex[tex]);
1063 * texture unit, unbind the texture first. Decrement the reference