Lines Matching refs:newTexObj
1730 struct gl_texture_object *newTexObj = NULL; in bind_texture() local
1746 newTexObj = ctx->Shared->DefaultTex[targetIndex]; in bind_texture()
1749 newTexObj = _mesa_lookup_texture(ctx, texName); in bind_texture()
1750 if (newTexObj) { in bind_texture()
1753 newTexObj->Target != 0 && newTexObj->Target != target) { in bind_texture()
1761 if (newTexObj->Target == 0) { in bind_texture()
1762 finish_texture_init(ctx, target, newTexObj, targetIndex); in bind_texture()
1773 newTexObj = ctx->Driver.NewTextureObject(ctx, texName, target); in bind_texture()
1774 if (!newTexObj) { in bind_texture()
1780 _mesa_HashInsert(ctx->Shared->TexObjects, texName, newTexObj); in bind_texture()
1784 assert(newTexObj->Target == target); in bind_texture()
1785 assert(newTexObj->TargetIndex == targetIndex); in bind_texture()
1787 bind_texture_object(ctx, ctx->Texture.CurrentUnit, newTexObj); in bind_texture()