Lines Matching refs:CurrentUnit
659 save->ActiveUnit = ctx->Texture.CurrentUnit; in _mesa_meta_begin()
708 GLuint activeTexture = ctx->Texture.CurrentUnit; in _mesa_meta_begin()
1010 ASSERT(ctx->Texture.CurrentUnit == 0); in _mesa_meta_end()
1048 GLuint activeTexture = ctx->Texture.CurrentUnit; in _mesa_meta_end()
1450 ctx->Texture.Unit[ctx->Texture.CurrentUnit].Sampler ? in blitframebuffer_texture()
1451 ctx->Texture.Unit[ctx->Texture.CurrentUnit].Sampler->Name : 0; in blitframebuffer_texture()
1467 _mesa_BindSampler(ctx->Texture.CurrentUnit, sampler); in blitframebuffer_texture()
1557 _mesa_BindSampler(ctx->Texture.CurrentUnit, samplerSave); in blitframebuffer_texture()
3247 const GLuint currentTexUnitSave = ctx->Texture.CurrentUnit; in _mesa_meta_GenerateMipmap()
3287 samplerSave = ctx->Texture.Unit[ctx->Texture.CurrentUnit].Sampler ? in _mesa_meta_GenerateMipmap()
3288 ctx->Texture.Unit[ctx->Texture.CurrentUnit].Sampler->Name : 0; in _mesa_meta_GenerateMipmap()
3299 _mesa_BindSampler(ctx->Texture.CurrentUnit, mipmap->Sampler); in _mesa_meta_GenerateMipmap()
3319 _mesa_BindSampler(ctx->Texture.CurrentUnit, mipmap->Sampler); in _mesa_meta_GenerateMipmap()
3457 _mesa_BindSampler(ctx->Texture.CurrentUnit, samplerSave); in _mesa_meta_GenerateMipmap()
3637 samplerSave = ctx->Texture.Unit[ctx->Texture.CurrentUnit].Sampler ? in decompress_texture_image()
3638 ctx->Texture.Unit[ctx->Texture.CurrentUnit].Sampler->Name : 0; in decompress_texture_image()
3689 _mesa_BindSampler(ctx->Texture.CurrentUnit, decompress->Sampler); in decompress_texture_image()
3700 _mesa_BindSampler(ctx->Texture.CurrentUnit, decompress->Sampler); in decompress_texture_image()
3792 _mesa_BindSampler(ctx->Texture.CurrentUnit, samplerSave); in decompress_texture_image()