Lines Matching refs:tgt
799 GLint tgt; in alloc_proxy_textures() local
805 for (tgt = 0; tgt < NUM_TEXTURE_TARGETS; tgt++) { in alloc_proxy_textures()
806 if (!(ctx->Texture.ProxyTex[tgt] in alloc_proxy_textures()
807 = ctx->Driver.NewTextureObject(ctx, 0, targets[tgt]))) { in alloc_proxy_textures()
809 while (--tgt >= 0) { in alloc_proxy_textures()
810 ctx->Driver.DeleteTexture(ctx, ctx->Texture.ProxyTex[tgt]); in alloc_proxy_textures()
928 GLuint u, tgt; in _mesa_free_texture_data() local
935 for (tgt = 0; tgt < NUM_TEXTURE_TARGETS; tgt++) { in _mesa_free_texture_data()
936 _mesa_reference_texobj(&ctx->Texture.Unit[u].CurrentTex[tgt], NULL); in _mesa_free_texture_data()
941 for (tgt = 0; tgt < NUM_TEXTURE_TARGETS; tgt++) in _mesa_free_texture_data()
942 ctx->Driver.DeleteTexture(ctx, ctx->Texture.ProxyTex[tgt]); in _mesa_free_texture_data()