Lines Matching defs:newTexObj
1649 struct gl_texture_object *newTexObj = NULL;
1677 * Get pointer to new texture object (newTexObj)
1681 newTexObj = ctx->Shared->DefaultTex[targetIndex];
1684 newTexObj = _mesa_lookup_texture(ctx, texName);
1685 if (newTexObj) {
1688 newTexObj->Target != 0 && newTexObj->Target != target) {
1696 if (newTexObj->Target == 0) {
1697 finish_texture_init(ctx, target, newTexObj, targetIndex);
1707 newTexObj = _mesa_new_texture_object(ctx, texName, target);
1708 if (!newTexObj) {
1714 _mesa_HashInsert(ctx->Shared->TexObjects, texName, newTexObj, false);
1718 assert(newTexObj->Target == target);
1719 assert(newTexObj->TargetIndex == targetIndex);
1721 return newTexObj;
1736 struct gl_texture_object *newTexObj =
1739 if (!newTexObj)
1742 bind_texture_object(ctx, texunit, newTexObj);