Lines Matching refs:tgt
719 GLint tgt; in alloc_proxy_textures() local
725 for (tgt = 0; tgt < NUM_TEXTURE_TARGETS; tgt++) { in alloc_proxy_textures()
726 if (!(ctx->Texture.ProxyTex[tgt] in alloc_proxy_textures()
727 = ctx->Driver.NewTextureObject(ctx, 0, targets[tgt]))) { in alloc_proxy_textures()
729 while (--tgt >= 0) { in alloc_proxy_textures()
730 ctx->Driver.DeleteTexture(ctx, ctx->Texture.ProxyTex[tgt]); in alloc_proxy_textures()
832 GLuint u, tgt; in _mesa_free_texture_data() local
839 for (tgt = 0; tgt < NUM_TEXTURE_TARGETS; tgt++) { in _mesa_free_texture_data()
840 _mesa_reference_texobj(&ctx->Texture.Unit[u].CurrentTex[tgt], NULL); in _mesa_free_texture_data()
845 for (tgt = 0; tgt < NUM_TEXTURE_TARGETS; tgt++) in _mesa_free_texture_data()
846 ctx->Driver.DeleteTexture(ctx, ctx->Texture.ProxyTex[tgt]); in _mesa_free_texture_data()