gallium: interface cleanups, remove nblocksx/y from pipe_texture and more
authorRoland Scheidegger <sroland@vmware.com>
Mon, 30 Nov 2009 19:29:18 +0000 (20:29 +0100)
committerRoland Scheidegger <sroland@vmware.com>
Mon, 30 Nov 2009 19:29:18 +0000 (20:29 +0100)
commitac400ffce62be47fc77e8d10cabcd39b92b6c627
treec99fc26392294b75bf88cb04a7853c63007424f0
parent7fa1bcc05a237365e5ea09512453f29a91c7a141
gallium: interface cleanups, remove nblocksx/y from pipe_texture and more

This patch removes nblocksx, nblocksy arrays from pipe_texture (can be
recalculated if needed). Furthermore, pipe_format_block struct is gone
completely (again, contains just derived state).
nblocksx, nblocksy, block are also removed from pipe_transfer, together with
the format enum (can be obtained from the texture associated with the transfer).
23 files changed:
src/gallium/auxiliary/draw/draw_pipe_aaline.c
src/gallium/auxiliary/draw/draw_pipe_pstipple.c
src/gallium/auxiliary/util/u_blit.c
src/gallium/auxiliary/util/u_debug.c
src/gallium/auxiliary/util/u_format.h
src/gallium/auxiliary/util/u_gen_mipmap.c
src/gallium/auxiliary/util/u_linear.c
src/gallium/auxiliary/util/u_linear.h
src/gallium/auxiliary/util/u_rect.c
src/gallium/auxiliary/util/u_rect.h
src/gallium/auxiliary/util/u_surface.c
src/gallium/auxiliary/util/u_tile.c
src/gallium/auxiliary/vl/vl_mpeg12_mc_renderer.c
src/gallium/drivers/softpipe/sp_texture.c
src/gallium/drivers/softpipe/sp_tile_cache.c
src/gallium/include/pipe/p_format.h
src/gallium/include/pipe/p_state.h
src/mesa/state_tracker/st_cb_drawpixels.c
src/mesa/state_tracker/st_cb_fbo.c
src/mesa/state_tracker/st_cb_readpixels.c
src/mesa/state_tracker/st_cb_texture.c
src/mesa/state_tracker/st_gen_mipmap.c
src/mesa/state_tracker/st_texture.c