Lines Matching refs:origTexObj

524 texture_view(struct gl_context *ctx, struct gl_texture_object *origTexObj,  in texture_view()  argument
540 newViewNumLevels = MIN2(numlevels, origTexObj->NumLevels - minlevel); in texture_view()
541 newViewNumLayers = MIN2(numlayers, origTexObj->NumLayers - minlayer); in texture_view()
543 faceTarget = _mesa_cube_face_target(origTexObj->Target, minlayer); in texture_view()
546 origTexImage = _mesa_select_tex_image(origTexObj, faceTarget, minlevel); in texture_view()
687 texObj->MinLevel = origTexObj->MinLevel + minlevel; in texture_view()
688 texObj->MinLayer = origTexObj->MinLayer + minlayer; in texture_view()
692 texObj->ImmutableLevels = origTexObj->ImmutableLevels; in texture_view()
698 !ctx->Driver.TextureView(ctx, texObj, origTexObj)) { in texture_view()
710 struct gl_texture_object *origTexObj; in _mesa_TextureView_no_error() local
714 origTexObj = _mesa_lookup_texture(ctx, origtexture); in _mesa_TextureView_no_error()
717 texture_view(ctx, origTexObj, texObj, target, internalformat, minlevel, in _mesa_TextureView_no_error()
728 struct gl_texture_object *origTexObj; in _mesa_TextureView() local
746 origTexObj = _mesa_lookup_texture(ctx, origtexture); in _mesa_TextureView()
751 if (!origTexObj) { in _mesa_TextureView()
760 if (!origTexObj->Immutable) { in _mesa_TextureView()
792 if (!target_valid(ctx, origTexObj->Target, target)) { in _mesa_TextureView()
800 newViewMinLevel = origTexObj->MinLevel + minlevel; in _mesa_TextureView()
801 newViewMinLayer = origTexObj->MinLayer + minlayer; in _mesa_TextureView()
802 if (newViewMinLevel >= (origTexObj->MinLevel + origTexObj->NumLevels)) { in _mesa_TextureView()
806 newViewMinLevel, origTexObj->MinLevel, origTexObj->NumLevels); in _mesa_TextureView()
810 if (newViewMinLayer >= (origTexObj->MinLayer + origTexObj->NumLayers)) { in _mesa_TextureView()
814 newViewMinLayer, origTexObj->MinLayer, origTexObj->NumLayers); in _mesa_TextureView()
819 origTexObj->Image[0][0]->InternalFormat, in _mesa_TextureView()
824 _mesa_enum_to_string(origTexObj->Image[0][0]->InternalFormat)); in _mesa_TextureView()
828 texture_view(ctx, origTexObj, texObj, target, internalformat, minlevel, in _mesa_TextureView()