Lines Matching refs:tgt
1002 GLint tgt; in alloc_proxy_textures() local
1008 for (tgt = 0; tgt < NUM_TEXTURE_TARGETS; tgt++) { in alloc_proxy_textures()
1009 if (!(ctx->Texture.ProxyTex[tgt] in alloc_proxy_textures()
1010 = _mesa_new_texture_object(ctx, 0, targets[tgt]))) { in alloc_proxy_textures()
1012 while (--tgt >= 0) { in alloc_proxy_textures()
1013 _mesa_delete_texture_object(ctx, ctx->Texture.ProxyTex[tgt]); in alloc_proxy_textures()
1123 GLuint u, tgt; in _mesa_free_texture_data() local
1130 for (tgt = 0; tgt < NUM_TEXTURE_TARGETS; tgt++) { in _mesa_free_texture_data()
1131 _mesa_reference_texobj(&ctx->Texture.Unit[u].CurrentTex[tgt], NULL); in _mesa_free_texture_data()
1136 for (tgt = 0; tgt < NUM_TEXTURE_TARGETS; tgt++) in _mesa_free_texture_data()
1137 _mesa_delete_texture_object(ctx, ctx->Texture.ProxyTex[tgt]); in _mesa_free_texture_data()