Home
last modified time | relevance | path

Searched refs:mtSizes (Results 1 – 2 of 2) sorted by relevance

/external/mesa3d/src/mesa/drivers/dri/r200/
Dradeon_mipmap_tree.c451 unsigned *mtSizes = calloc(numLevels, sizeof(unsigned)); in get_biggest_matching_miptree() local
472 mtSizes[i] += img->mt->levels[img->base.Base.Level].size; in get_biggest_matching_miptree()
478 mtSizes[mtCount] = img->mt->levels[img->base.Base.Level].size; in get_biggest_matching_miptree()
485 free(mtSizes); in get_biggest_matching_miptree()
491 if (mtSizes[i] > mtSizes[maxMtIndex]) { in get_biggest_matching_miptree()
497 free(mtSizes); in get_biggest_matching_miptree()
/external/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_mipmap_tree.c451 unsigned *mtSizes = calloc(numLevels, sizeof(unsigned)); in get_biggest_matching_miptree() local
472 mtSizes[i] += img->mt->levels[img->base.Base.Level].size; in get_biggest_matching_miptree()
478 mtSizes[mtCount] = img->mt->levels[img->base.Base.Level].size; in get_biggest_matching_miptree()
485 free(mtSizes); in get_biggest_matching_miptree()
491 if (mtSizes[i] > mtSizes[maxMtIndex]) { in get_biggest_matching_miptree()
497 free(mtSizes); in get_biggest_matching_miptree()