Lines Matching refs:dstImage
1843 struct gl_texture_image *dstImage; in prepare_mipmap_level() local
1846 dstImage = _mesa_get_tex_image(ctx, texObj, target, level); in prepare_mipmap_level()
1847 if (!dstImage) { in prepare_mipmap_level()
1852 if (dstImage->Width != width || in prepare_mipmap_level()
1853 dstImage->Height != height || in prepare_mipmap_level()
1854 dstImage->Depth != depth || in prepare_mipmap_level()
1855 dstImage->Border != border || in prepare_mipmap_level()
1856 dstImage->InternalFormat != intFormat || in prepare_mipmap_level()
1857 dstImage->TexFormat != format) { in prepare_mipmap_level()
1859 ctx->Driver.FreeTextureImageBuffer(ctx, dstImage); in prepare_mipmap_level()
1861 _mesa_init_teximage_fields(ctx, dstImage, in prepare_mipmap_level()
1865 ctx->Driver.AllocTextureImageBuffer(ctx, dstImage); in prepare_mipmap_level()
1935 struct gl_texture_image *srcImage, *dstImage; in generate_mipmap_uncompressed() local
1953 dstImage = _mesa_select_tex_image(texObj, target, level + 1); in generate_mipmap_uncompressed()
1954 if (!dstImage) { in generate_mipmap_uncompressed()
1957 dstWidth = dstImage->Width; in generate_mipmap_uncompressed()
1958 dstHeight = dstImage->Height; in generate_mipmap_uncompressed()
1959 dstDepth = dstImage->Depth; in generate_mipmap_uncompressed()
1990 ctx->Driver.MapTextureImage(ctx, dstImage, slice, in generate_mipmap_uncompressed()
2027 ctx->Driver.UnmapTextureImage(ctx, dstImage, slice); in generate_mipmap_uncompressed()
2123 struct gl_texture_image *dstImage; in generate_mipmap_compressed() local
2139 dstImage = _mesa_select_tex_image(texObj, target, level + 1); in generate_mipmap_compressed()
2140 if (!dstImage) { in generate_mipmap_compressed()
2143 dstWidth = dstImage->Width; in generate_mipmap_compressed()
2144 dstHeight = dstImage->Height; in generate_mipmap_compressed()
2145 dstDepth = dstImage->Depth; in generate_mipmap_compressed()
2178 ctx->Driver.TexSubImage(ctx, 2, dstImage, in generate_mipmap_compressed()