• Home
  • Raw
  • Download

Lines Matching refs:srcImage

1885 			     const struct gl_texture_image *srcImage,  in generate_mipmap_uncompressed()  argument
1892 _mesa_format_to_type_and_comps(srcImage->TexFormat, &datatype, &comps); in generate_mipmap_uncompressed()
1896 struct gl_texture_image *srcImage, *dstImage; in generate_mipmap_uncompressed() local
1907 srcImage = _mesa_select_tex_image(ctx, texObj, target, level); in generate_mipmap_uncompressed()
1908 ASSERT(srcImage); in generate_mipmap_uncompressed()
1909 srcWidth = srcImage->Width; in generate_mipmap_uncompressed()
1910 srcHeight = srcImage->Height; in generate_mipmap_uncompressed()
1911 srcDepth = srcImage->Depth; in generate_mipmap_uncompressed()
1912 border = srcImage->Border; in generate_mipmap_uncompressed()
1922 border, srcImage->InternalFormat, in generate_mipmap_uncompressed()
1923 srcImage->TexFormat)) { in generate_mipmap_uncompressed()
1945 ctx->Driver.MapTextureImage(ctx, srcImage, slice, in generate_mipmap_uncompressed()
1990 ctx->Driver.UnmapTextureImage(ctx, srcImage, slice); in generate_mipmap_uncompressed()
2017 struct gl_texture_image *srcImage, in generate_mipmap_compressed() argument
2037 temp_format = _mesa_get_uncompressed_format(srcImage->TexFormat); in generate_mipmap_compressed()
2042 if (_mesa_get_format_datatype(srcImage->TexFormat) in generate_mipmap_compressed()
2055 temp_src_stride = _mesa_format_row_stride(temp_format, srcImage->Width); in generate_mipmap_compressed()
2056 temp_src = (GLubyte *) malloc(temp_src_stride * srcImage->Height + 20); in generate_mipmap_compressed()
2070 assert(srcImage->Level == texObj->BaseLevel); in generate_mipmap_compressed()
2073 temp_src, srcImage); in generate_mipmap_compressed()
2081 const struct gl_texture_image *srcImage; in generate_mipmap_compressed() local
2090 srcImage = _mesa_select_tex_image(ctx, texObj, target, level); in generate_mipmap_compressed()
2091 ASSERT(srcImage); in generate_mipmap_compressed()
2092 srcWidth = srcImage->Width; in generate_mipmap_compressed()
2093 srcHeight = srcImage->Height; in generate_mipmap_compressed()
2094 srcDepth = srcImage->Depth; in generate_mipmap_compressed()
2095 border = srcImage->Border; in generate_mipmap_compressed()
2130 border, srcImage->InternalFormat, in generate_mipmap_compressed()
2131 srcImage->TexFormat)) { in generate_mipmap_compressed()
2167 struct gl_texture_image *srcImage; in _mesa_generate_mipmap() local
2171 srcImage = _mesa_select_tex_image(ctx, texObj, target, texObj->BaseLevel); in _mesa_generate_mipmap()
2172 ASSERT(srcImage); in _mesa_generate_mipmap()
2179 if (_mesa_is_format_compressed(srcImage->TexFormat)) { in _mesa_generate_mipmap()
2180 generate_mipmap_compressed(ctx, target, texObj, srcImage, maxLevel); in _mesa_generate_mipmap()
2182 generate_mipmap_uncompressed(ctx, target, texObj, srcImage, maxLevel); in _mesa_generate_mipmap()