mesa: Remove unnecessary parameters from AllocTextureImageBuffer
authorPauli Nieminen <pauli.nieminen@linux.intel.com>
Tue, 12 Jun 2012 18:38:44 +0000 (21:38 +0300)
committerKenneth Graunke <kenneth@whitecape.org>
Sun, 12 Aug 2012 22:49:28 +0000 (15:49 -0700)
commitc9a7dfcf92e6adb4b85338c2c8dbbfbaf39fbfe7
tree4953463bf82e63f8db3c3772718397293dc01059
parentc5af8891805fc4f590c1371c098cdbc704c44e00
mesa: Remove unnecessary parameters from AllocTextureImageBuffer

Size and format information is always stored in gl_texture_image
structure. That makes it preferable to remove duplicate information from
parameters to make interface easier to understand.

Signed-off-by: Pauli Nieminen <pauli.nieminen@linux.intel.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/intel/intel_tex.c
src/mesa/drivers/dri/intel/intel_tex_image.c
src/mesa/drivers/dri/radeon/radeon_texture.c
src/mesa/main/dd.h
src/mesa/main/mipmap.c
src/mesa/main/texstore.c
src/mesa/state_tracker/st_cb_texture.c
src/mesa/swrast/s_texture.c
src/mesa/swrast/swrast.h