Redesign pipe_surface in terms of pipe_region.
authorBrian <brian@i915.localnet.net>
Tue, 31 Jul 2007 23:42:03 +0000 (17:42 -0600)
committerBrian <brian@i915.localnet.net>
Tue, 31 Jul 2007 23:42:03 +0000 (17:42 -0600)
commit20adf45c23dd9ec86a1439ad87c1473395bbb1a7
treeeee17a4b7b1572651c2b20661b26b82def9cdd34
parent2f245bce420c7a6c6928c4927d0f9a5701cde17f
Redesign pipe_surface in terms of pipe_region.

struct pipe_buffer goes away.
Added basic region functions to softpipe to allocate/release malloc'd regions.
Surface-related code is fairly coherent now.
15 files changed:
src/mesa/drivers/dri/i915pipe/intel_fbo.c
src/mesa/drivers/dri/i915pipe/intel_surface.c
src/mesa/drivers/x11/xm_buffer.c
src/mesa/drivers/x11/xm_surface.c
src/mesa/drivers/x11/xmesaP.h
src/mesa/main/renderbuffer.c
src/mesa/pipe/p_context.h
src/mesa/pipe/p_state.h
src/mesa/pipe/softpipe/sp_context.c
src/mesa/pipe/softpipe/sp_region.c [new file with mode: 0644]
src/mesa/pipe/softpipe/sp_region.h [new file with mode: 0644]
src/mesa/pipe/softpipe/sp_surface.c
src/mesa/pipe/softpipe/sp_surface.h
src/mesa/pipe/softpipe/sp_z_surface.c
src/mesa/sources