Lines Matching refs:newTexObj
1702 struct gl_texture_object *newTexObj = NULL; in _mesa_lookup_or_create_texture() local
1734 newTexObj = ctx->Shared->DefaultTex[targetIndex]; in _mesa_lookup_or_create_texture()
1737 newTexObj = _mesa_lookup_texture(ctx, texName); in _mesa_lookup_or_create_texture()
1738 if (newTexObj) { in _mesa_lookup_or_create_texture()
1741 newTexObj->Target != 0 && newTexObj->Target != target) { in _mesa_lookup_or_create_texture()
1749 if (newTexObj->Target == 0) { in _mesa_lookup_or_create_texture()
1750 finish_texture_init(ctx, target, newTexObj, targetIndex); in _mesa_lookup_or_create_texture()
1760 newTexObj = ctx->Driver.NewTextureObject(ctx, texName, target); in _mesa_lookup_or_create_texture()
1761 if (!newTexObj) { in _mesa_lookup_or_create_texture()
1767 _mesa_HashInsert(ctx->Shared->TexObjects, texName, newTexObj, false); in _mesa_lookup_or_create_texture()
1771 assert(newTexObj->Target == target); in _mesa_lookup_or_create_texture()
1772 assert(newTexObj->TargetIndex == targetIndex); in _mesa_lookup_or_create_texture()
1774 return newTexObj; in _mesa_lookup_or_create_texture()
1789 struct gl_texture_object *newTexObj = in bind_texture() local
1792 if (!newTexObj) in bind_texture()
1795 bind_texture_object(ctx, texunit, newTexObj); in bind_texture()