mesa: consolidate multiple next_mipmap_level_size
authorCourtney Goeltzenleuchter <courtney@LunarG.com>
Mon, 25 Nov 2013 23:31:26 +0000 (16:31 -0700)
committerBrian Paul <brianp@vmware.com>
Fri, 13 Dec 2013 19:31:54 +0000 (12:31 -0700)
commitbb5947de995d6425a681e591ed9566688772a3ca
tree0de72c8372d82c6f1f868ef9ab35e6b63790f943
parent320ec1deacd97fd32f14331030660f8fceb7235c
mesa: consolidate multiple next_mipmap_level_size

Refactor to make next_mipmap_level_size defined in mipmap.c a
_mesa_ helper function that can then be used by texture_view

Signed-off-by: Courtney Goeltzenleuchter <courtney@LunarG.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
src/mesa/main/mipmap.c
src/mesa/main/mipmap.h
src/mesa/main/texstorage.c