Lines Matching refs:srcImage

1948                              const struct gl_texture_image *srcImage,
1955 _mesa_uncompressed_format_to_type_and_comps(srcImage->TexFormat, &datatype, &comps);
1959 struct gl_texture_image *srcImage, *dstImage;
1969 srcImage = _mesa_select_tex_image(texObj, target, level);
1970 assert(srcImage);
1971 srcWidth = srcImage->Width;
1972 srcHeight = srcImage->Height;
1973 srcDepth = srcImage->Depth;
1974 border = srcImage->Border;
1996 ctx->Driver.MapTextureImage(ctx, srcImage, slice,
2041 ctx->Driver.UnmapTextureImage(ctx, srcImage, slice);
2068 struct gl_texture_image *srcImage,
2091 temp_format = _mesa_get_uncompressed_format(srcImage->TexFormat);
2095 switch (_mesa_get_format_datatype(srcImage->TexFormat)) {
2111 temp_src_row_stride = _mesa_format_row_stride(temp_format, srcImage->Width);
2112 temp_src_img_stride = _mesa_format_image_size(temp_format, srcImage->Width,
2113 srcImage->Height, 1);
2114 temp_src = malloc(temp_src_img_stride * srcImage->Depth);
2117 temp_src_slices = malloc(srcImage->Depth * sizeof(GLubyte *));
2118 temp_dst_slices = malloc(srcImage->Depth * sizeof(GLubyte *));
2133 assert(srcImage->Level == texObj->BaseLevel);
2136 srcImage->Width, srcImage->Height,
2137 srcImage->Depth,
2139 temp_src, srcImage);
2146 const struct gl_texture_image *srcImage;
2155 srcImage = _mesa_select_tex_image(texObj, target, level);
2156 assert(srcImage);
2157 srcWidth = srcImage->Width;
2158 srcHeight = srcImage->Height;
2159 srcDepth = srcImage->Depth;
2160 border = srcImage->Border;
2236 struct gl_texture_image *srcImage;
2240 srcImage = _mesa_select_tex_image(texObj, target, texObj->BaseLevel);
2241 assert(srcImage);
2250 if (_mesa_is_format_compressed(srcImage->TexFormat)) {
2251 generate_mipmap_compressed(ctx, target, texObj, srcImage, maxLevel);
2253 generate_mipmap_uncompressed(ctx, target, texObj, srcImage, maxLevel);