• Home
  • Raw
  • Download

Lines Matching refs:srcImage

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