st/mesa: properly implement MapTextureImage with multiple mapped slices (v2)
authorMarek Olšák <marek.olsak@amd.com>
Mon, 10 Mar 2014 17:43:17 +0000 (18:43 +0100)
committerMarek Olšák <marek.olsak@amd.com>
Thu, 10 Apr 2014 18:50:16 +0000 (20:50 +0200)
commit26c41398cc47c0f72259a34406831443238b7ba9
tree0e0d85c3b0f73fad4ab8cfe54b83c75b304200dc
parent5206d4bc09a0e2be0e9bb91b4610455af25ca428
st/mesa: properly implement MapTextureImage with multiple mapped slices (v2)

This is needed by _mesa_generate_mipmap.

This adds an array of pipe_transfers to st_texture_image. Each transfer is
for mapping a single layer.

v2: allocate the array of transfers on demand
src/mesa/state_tracker/st_cb_texture.c
src/mesa/state_tracker/st_texture.c
src/mesa/state_tracker/st_texture.h